-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (112 loc) · 1.89 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
* {
box-sizing: border-box;
}
body {
/* set the default font to roboto. */
font-family: 'Roboto', sans-serif;
margin: 0px;
background-color: #EEEEEE;
}
header {
position: fixed;
top 0px;
width: 100%;
background-color: white;
display: flex;
font-size: 1.5em;
border-bottom: 1px solid;
padding: 10px;
}
header #website-title {
flex-grow: 1;
font-weight: bold;
}
nav {
font-size: 1rem;
/*display: none;*/
position: fixed;
top: 0px;
right: -300px;
background-color: white;
height: 100%;
width: 200px;
box-shadow: 3px 0px 30px rgba(0, 0, 0, 0.4);
}
nav ul {
list-style-type: none;
padding: 0px;
margin: 25px;
}
nav ul li {
padding: 10px 0px;
text-transform: uppercase;
font-weight: 500;
}
nav ul li i {
margin-right: 5px;
}
nav ul li a {
color: black;
text-decoration: none;
}
#nav-container.show nav {
right: 0px;
}
#nav-container, #nav-container nav {
will-change: true;
transition: all 400ms ease-in-out;
}
#nav-container.show {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
}
#content {
padding-top: 48px;
}
article {
margin: 15px;
padding: 10px;
background-color: white;
border: 1px solid gray;
}
article .title {
font-weight: bold;
text-decoration: underline;
margin-bottom: 14px;
font-size: 1.3em;
}
article .more {
border-top: 1px dashed gray;
margin-top: 10px;
padding: 15px;
padding-bottom: 5px;
text-align: center;
text-transform: capitalize;
}
article .more i {
margin-right: 5px;
}
footer {
background-color: #616161;
color: #FAFAFA;
padding: 26px;
}
article.disclaimer {
background-color: #F44336;
color: #FAFAFA;
display: flex;
border-color: #D32F2F;
}
article.disclaimer i {
margin: auto 0px;
margin-right: 9px;
font-size: 1.5em;
}
article.disclaimer strong {
display: block;
text-transform: uppercase;
}