-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (80 loc) · 1.47 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
body {
display: flex;
background-color: #FEF6E4;
color: #041A5E;
margin: 0;
padding: 0;
scroll-behavior: smooth;
}
.navbar {
background-color: #72ecec;
position: fixed;
min-width: 280px;
height: 100%;
border-right: solid;
border-color: rgba(0, 22, 22, 0.4);
}
.container {
margin-left: 20%;
}
.navul {
padding-left: 5px;
}
.navul li {
list-style: none;
margin: 25px;
left: -10%;
position: relative;
padding-top: 10px;
text-align: center;
height: 88%;
border-top: 1px solid #041A5E;
width: 100%;
padding-left: 0%;
cursor: pointer;
}
.navbar a{
text-decoration: none;
}
h1 {
text-align: center;
}
h2 {
background-color: #F582AE;
color: black;
padding: 4px;
}
section {
line-height: 1.8;
}
@media screen and (max-width: 1400px) {
body {
display: block;
}
.navbar{
position: sticky;
}
.navbar li {
list-style: none;
padding-top: 2px;
left: 28%;
border-top: none;
padding-left: 0%;
}
h1 {
text-align: left;
}
.navbar ul {
display: flex;
overflow-y: scroll;
border-top: none;
align-items: center;
position: relative;
}
.container {
top: 20%;
position: absolute;
z-index: -1;
margin: 0;
}
}