summaryrefslogtreecommitdiff
path: root/md/53hor.net/styles.css
blob: fdd05647a38fb4036f4b80acaeaaa2a760b777ff (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
/* stylesheet for 53hor.net */

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

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

#TOC {
  margin-top: 1em;
  position: fixed;
  width: 15%;
  height: 100%;
}

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

#TOC li a {
  text-decoration: none;
  display: block;
  color: gray;
}

#topnav {
  margin: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
}

#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: var(--balboa);
  transition: 0.5s;
}

#topnav a:hover {
  background-color: var(--balboa);
  color: white;
}

article {
  margin-left: 15%;
  margin-top: 3em;
  background-image: url(background.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: cover;
}

body {
  padding: 0;
  margin: 0;
  font-size: 1.2em;
  font-family: "Merriweather", 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;
}

h1 {
  font-style: italic;
  font-weight: 500;
  font-size: 2.5em;
  text-align: center;
  color: white;
  text-shadow: 3px 3px 3px black;
  padding-top: 1.5em;
}

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

h3 {
  font-weight: 700;
  font-size: 1em;
  color: var(--balboa);
}

h4 {
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  text-shadow: 3px 3px 3px black;
  color: white;
}