-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.css
126 lines (110 loc) · 2.1 KB
/
global.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
/*
* For use by all html files in this project
*/
:root {
--background-color: #fff;
--smcs-red: #db2222;
--sidebar-gray: #888;
--high-constrast-gray: #a9a9a9;
--low-contrast-gray: #d3d3d3;
--text-color: #000;
}
body.dark-mode {
/* "Invert" */
--background-color: #060606;
--sidebar-gray: #343434;
--low-contrast-gray: #1a1a1e;
--text-color: #ddd;
background-color: var(--background-color);
}
* {
box-sizing: border-box;
font-family: sans-serif;
}
html {
scroll-behavior: smooth;
}
body {
height: 100%;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
}
a {
color: var(--smcs-red);
text-decoration: none;
}
p {
color: var(--text-color);
font-size: medium;
font-weight: 500;
line-height: 1.5;
}
.search {
height: 7vh;
width: 25vw;
margin-top: 3vh;
margin-bottom: 3vh;
padding: 0;
font-size: 32px;
background-color: var(--low-contrast-gray);
border-color: var(--smcs-red);
border-style: solid;
border-width: 4px;
border-radius: 10px;
display: inline-block;
vertical-align: middle;
text-align: left;
position: relative;
}
#searchinput {
background-color: transparent;
color: var(--text-color);
text-align: left;
font-size: large;
font-weight: bold;
top: 0;
left: 2%;
height: 100%;
width: 90%;
position: absolute;
border: none;
padding: 0;
}
#searchinput:focus {
outline: none;
}
.searchlink {
font-weight: 800;
}
#footerbar {
height: 8vh;
width: 100%;
background: var(--low-contrast-gray);
position: fixed;
left: 0;
bottom: 0;
display: flex;
align-items: end;
justify-content: center;
flex-direction: column;
}
.footercell {
width: 8vh;
align-content: center;
text-align: center;
vertical-align: middle;
}
.footer-button {
background-color: transparent;
background-repeat: no-repeat;
border: none;
cursor: pointer;
box-shadow: transparent 0 0;
outline: none;
}
.buttonlinks {
height: 6vh;
transform: translateY(0.25vh);
}