summaryrefslogtreecommitdiff
path: root/static/src/assets/main.css
blob: ef9b9d49554ad50e0a557ea15d01d873367a9935 (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
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
ul {
    list-style: circle;
}

.light {
    color: #666;
}

/* when in doubt, important it out */

.light a {
    color: #666 !important;
}

.light a:hover {
    color: #222 !important;
}

/* for making all content within a row be vertically centered
.row-vertically-centered .columns {
   display: inline-block;
   float: none;
   margin-left: 0;
   vertical-align: middle;
}
*/

#title-header  {
    border-bottom: 1px solid #666;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 4rem;
}

#title-header .title {
    margin: 0;
    font-size: 4.4rem; /* magic number yooooo */
}

#title-header .title a {
    color: #222;
    text-decoration: none;
}

#title-header .social span {
    margin-right: 0.5em;
    white-space: nowrap;
}

#title-header .social .author-icons a {
    margin-right: 0.5em;
}

#title-header .social a {
    text-decoration: none;
}

footer {
    margin-top: 4rem;
    border-top: 1px solid #666;
    padding-top: 2rem;
    margin-bottom: 50vh;
}

#posts-list {
    list-style: none;
}

#posts-list h2 {
    margin: 0;
}

#posts-list h2 a {
    color: #222;
    text-decoration: none;
}

#post-header {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#post-headline {
    margin: 0;
    font-weight: bold;
}

#post-content ul {
    margin-left: 1em;
}

#post-content img,
#post-content canvas
{
    max-width: 100%;
}

/* The Modal (background) */
#modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
#modal-body {
    position: relative;
    background-color: #fefefe;
    margin: 10rem auto; /* 15% from the top and centered */
    padding: 5rem;
    border: 1px solid #888;
    max-width: 30%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
#modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

#modal-close:hover,
#modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}