-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
135 lines (119 loc) · 2.46 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
:root {
--grey: #D5D8DC;
--white: #ffffff;
--dark_grey: #383838;
--black: #000000;
--middle_grey: #868686;
}
* {
color: var(--fontColor);
font-family: Monospace, Monaco;
}
body {
background: var(--bg);
}
ul {
font-family: helvetica;
}
li {
list-style: circle;
}
.list {
list-style: square;
}
.light-theme {
--bg: var(--white);
--fontColor: var(--black);
--btnBg: var(--dark_grey);
--btnFontColor: var(--white);
--background: var(--grey);
}
.dark-theme {
--bg: var(--dark_grey);
--fontColor: var(--white);
--btnBg: var(--grey);
--btnFontColor: var(--black);
--background: var(--middle_grey);
}
/* Style the navigation bar */
.navbar {
width: 100%;
background-color: #555;
overflow: auto;
margin-bottom: 15px;
}
/* Navbar links */
.navbar a {
float: left;
text-align: center;
padding: 8px;
color: rgb(255, 255, 255);
text-decoration: none;
font-size: 17px;
}
.btn {
position: absolute;
border: none;
text-align: center;
color: var(--btnFontColor);
background-color: var(--btnBg);
}
.btn:focus { outline-style: none; }
/* Navbar links on mouse-over */
.navbar a:hover {
background-color: #000;
}
/* Current/active navbar link */
.active {
background-color: #04AA6D;
}
/* Add responsiveness - will automatically display the navbar vertically instead of horizontally on screens less than 500 pixels */
@media screen and (max-width: 500px) {
.navbar a {
float: none;
display: block;
}
}
.header {
background-color: var(--background);
text-align: center;
padding: 20px;
}
.footer {
background-color: var(--background);
text-align: left;
padding: 20px;
margin-top: 15px;
}
/* Create two unequal columns that floats next to each other */
.column {
padding: 10px;
float: left;
}
/* Left column */
.column.side {
width: 74.8%;
background-color: var(--background);
padding: 10px;
margin-right: 10px;
height: 262px;
}
/* Right column */
.column.middle {
width: 20%;
background-color: var(--background);
padding: 20px;
height: 262px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column.side, .column.middle {
width: 100%;
}
}