-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
executable file
·111 lines (102 loc) · 1.79 KB
/
main.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
:root {
/*
--theme-white: #fafef7;
--theme-green: #6fbf36;
--theme-orange: #fd6c1f;
--theme-light-blue: #1855fe;
--theme-dark-blue: #0a1639;
*/
--main-bg: #e1e9ff;
--feed-background: #fafef7;
--sec-bg: #6fbf36;
--nav-bg: #1855FE;
--nav-fg: #FD6C1F;
--feed-color: #f1f1f1;
--feed-hov: #e1e1e1;
--body-color: #fafef7;
}
body {
width: 90%;
max-width: 1100px;
position: relative;
margin: auto;
font-family: Arial;
padding: 20px;
background: var(--main-bg);
/* #f1f1f1; */
}
.header {
font-size: 40px;
text-align: center;
background: var(--sec-bg);
margin-top: -21px;
padding: 10px;
border-style: solid;
border-width: 2px;
border-bottom-width: 0px;
}
#subtitle {
font-size: 14px;
}
img {
width: 100%;
}
/* NAVIGATION */
#nav {
width: 100%;
height: 100%;
background-color: var(--nav-bg);
position: relative;
}
#nav ul {
list-style-type: none;
margin: 0;
padding-right: -5px;
padding: 0px;
position: relative;
border-style: solid;
border-width: 2px;
}
#nav ul li {
display: inline-block;
border-right-style: solid;
border-right-width: 2px;
}
#nav ul li a {
display: block;
padding: 8px 15px;
text-decoration: none;
color: var(--theme-white);
position: relative;
}
#nav ul li a:hover {
background-color: var(--nav-fg);
text-decoration: underline;
color: var(--theme-white);
}
#location {
background-color: var(--nav-fg);
text-decoration: underline;
}
/* Add a card effect for articles */
.card {
background-color: white;
padding: 20px;
margin-top: 0px;
margin-bottom: 0px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Footer */
.footer {
padding: 20px;
text-align: center;
background: var(--sec-bg);
margin-top: 0px;
border-style: solid;
border-width: 2px;
}