summaryrefslogtreecommitdiff
path: root/md/53hor.net/styles.css
blob: 1ce28948f7d2d0270bd641e7fa8ee40355845ce6 (plain) (blame)
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* stylesheet for 53hor.net */

/* google fonts */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,400i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Satisfy');

:root {
  /* custom colors */
  --balboa:#1a5a72;
}

#TOC {
  box-shadow: 3px 7px 5px black;
  position: fixed;
  width: 15%;
  height: 100%;
  margin: 0;
  background-color: white;
  box-shadow: 0 2px 5px black inset;
  overflow: auto;
}

#TOC ul {
  overflow: none;
  height: 100%;
  list-style-type: disc;
  color: var(--balboa);
  padding-left: 1em;
}

#TOC li a {
  text-decoration: none;
  display: block;
  color: gray;
  font-weight: 400;
  font-size: 0.7em;
  font-style: italic;
  transition: 0.25s;
}

#TOC li a:hover {
  color: black;
}

#topnav {
  box-shadow: 0 2px 5px black;
  margin: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--balboa);
  z-index: 1;
}

#topnav img {
  padding-left: 2.5em;
  padding-top: 1em;
  display: block;
}

#topnav a {
  float: right;
  display: block;
  text-align: center;
  padding: 1em 1em;
  text-decoration: none;
  color: white;
  transition: 0.5s;
}

#topnav a:hover {
  color: var(--balboa);
  background-color: white;
  box-shadow: 0 0 5px black;
}

html {
  height: 100%;
  margin: 0;
}

body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: 1.2em;
  font-family: "Merriweather", serif;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-attachment: fixed;
  background-size: cover;
}

article {
  height: 100%;
  margin-left: 15%;
  margin-top: 3em;
}

iframe {
  height: 100%;
  width: 100%;
  border: none;
}

figure {
  margin: none;
  padding: 1em;
  margin-left: 25%;
  width: 50%;
  background-color: white;
  box-shadow: 0 5px 5px black;
}

figure img {
  width: 100%;
}

figure figcaption {
  color: black;
  text-align: right;
  font-weight: 400;
  font-size: 0.8em;
  font-family: "Satisfy", sans-serif;
}

hr {
  color: white;
  margin-left: 4em;
  margin-right: 4em;
  border-bottom: none;
}

p {
  text-align: justify;
  text-indent: 2em;
  font-weight: 400;
  font-size: 0.9em;
  background-color: white;
  margin: 1em;
  padding: 1em;
  box-shadow: 0 5px 5px black;
}

h3 { /* decorative page title */
  font-style: italic;
  font-weight: 900;
  font-size: 2.5em;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 5px black;
  padding-top: 1.5em;
}

h4 { /* decorative page subtitle */
  font-weight: 900;
  font-size: 1em;
  text-align: center;
  text-shadow: 3px 3px 3px black;
  color: white;
}

h1 { /* section title */
  font-weight: 700;
  font-size: 1em;
  color: white;
  text-shadow: 3px 3px 3px black;
  margin: 1em;
}

h2 { /* subsection title */
  font-weight: 700;
  font-size: 1em;
  color: white;
  text-shadow: 3px 3px 3px black;
  margin: 1em;
}