-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (74 loc) · 1.19 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
ul{
position: fixed;
top: 50%;
left: 0;
transform: translateY(50%);
margin: 0;
padding: 0;
z-index: 1;
}
ul li{
list-style: none;
}
#container{
width: 100%;
height: 100vh;
}
#container div{
position: relative;
width: 100%;
height: 100%;
}
#container div h1{
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
text-transform: uppercase;
margin: 0;
padding: 0;
font-size: 8rem;
color: #fff;
}
ul li a{
display: block;
text-decoration: none;
height: 30px;
font-size: 24px;
background: #fff;
width: 155px;
color: #262626;
margin: 4px 0;
padding-left: 15px;
text-transform: uppercase;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
line-height:30px;
}
ul li a:hover{
background: #333;
text-decoration: none;
color: #fff;
}
#container{
width: 100%;
height: 100vh;
scroll-behavior: smooth;
overflow-Y: scroll;
}
#container div#cambridge{
background-color: #00ced1;
}
#container div#it{
background-color: skyblue;
}
#container div#institute{
background-color: peachpuff;
}
#container div#dot{
background-color: #2bb673;
}
#container div#com{
background-color: #c72339;
}