blob: dc8c34749edbe9c32c7e757e9c82551f75256a1c (
plain)
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
|
/* Variable declaration */
:root {
--primary-header-color: black;
--secondary-header-color: rgb(232, 112, 95);
--bg-color: white;
}
html {
/* overflow-y needed for chromium browsers to not shift */
overflow-y: scroll;
/*background-image: url("/misc021.jpg");*/
/*background-repeat: repeat;*/
background-color: white;
}
header {
display: flex;
flex-direction: row;
}
/* part of header w/ title and nav */
#left-header {
display: flex;
flex-direction: column;
flex-grow: 4;}
#site-title {
margin: 0px;
font-family: sans-serif;
padding-left: 0.4rem;
background-color: var(--primary-header-color);
color: white;}
nav {
display: flex;
padding-left: 0.2rem;
padding-bottom: 3px;
display: inline;
background-color: var(--primary-header-color);}
/* The image portion of the header */
#right-header {
background-image: url("/multi055.gif");
display: flex;
background-repeat: repeat;
min-width: 25rem;}
#image-gradient {
flex-grow: 1;
min-height: 0.4rem;
background: linear-gradient(to right, var(--primary-header-color) 0%, var(--primary-header-color) 20%, rgba(255,0,0,0));}
.nav-item {
color: white;}
/* everything */
body {
margin-top: 1rem;
background-color: var(--bg-color);
max-width: 60%;
}
/* main content */
main {
padding: 1rem;
padding-top: 0rem;
}
/* images are centered and fixed-width */
img {
max-width: 50%;
display: block;
margin: 0 auto;
}
/* Code */
pre {
border-radius: 2px;
background-color: rgb(16, 15, 15);
padding: 1rem;
overflow-x: scroll;
background-color: black;
color: white;
}
footer {
text-align: center;
}
|