aboutsummaryrefslogtreecommitdiff
path: root/src/css/styles.css
blob: 07d674e94f7682cd9344c948f55663d6e70e3fe4 (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
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
:root {
    --background: #fff;
    --background-accent: #f0f0f0;
    --accent: #ada;
    --text: #000;
    --btn-color: #2d2;
    --btn-text: #000;
    --btn-hover: #0a0;
    --light-text: #aaa;
}
  

body {
    padding: 15px;
    background-color: var(--background); 
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 30pt;
    font-weight: 150;
    margin-bottom: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

@keyframes zoom-left {
    0%   {left: 100%; }
    100% {left: 0;}
}

footer {
    text-align: center;
    padding-top: 1em;
    padding-bottom: 2em;
    border-top: 1px solid var(--light-text);
    color: var(--light-text);
    background-color: var(--background-accent);
}

.essay{
    width: 70%;
}

.figure {
    border: 1px solid #777; 
    background-color: #ddd;
    padding: 10px;
}

img {
    image-orientation: from-image;
}

.card {
    margin: 1em;
    padding: 2%;
    border: 1px solid var(--text);
    border-radius: 3px;
    display: inline;
    min-width: 200px;
    background-color: var(--background-accent);
}

.card img {
    width: 100%;
    margin: 2%;
    border: 2px solid #888;
}

h1 {
    margin: auto;
}

#feed {
    width: 100%;
}
.feed {
    min-width: 200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    animation-name: zoom-left;
    animation-duration: .5s;
    animation-iteration-count: 1;
    position: relative;
}

p {
    margin-top: 0;
}

@media screen and (min-width: 900px) {
    body {
        width: 80%;
        margin: auto;
    }
    .card-img {
        display: flex;
        flex-flow: row wrap;
        align-content: flex-start;
    }
    .card img {
        width: 400px;
    }
    form input[type=text], input[type=password], input[type=email] {
        max-width: 600px;
    }
    form textarea {
        max-width: 600px;
    }
    form input[type=submit] {
        margin-left: 0px;
    }
}

.titlebar {
    padding: 5px;
    border-top: 1px solid var(--light-text);
    border-bottom: 1px solid var(--light-text);
    background-color: var(--background-accent);
}

.titlebar a{
    margin: auto;
    max-width: 10%;
    min-width: 100px;
}

.btn {
    display: inline-block;
    padding: 1px 3px;
    border: 1px solid var(--btn-text);
    border-radius: 3px;
    width: 100%;
    max-width: 100px;
    line-height: 2em;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    height: 2em;
    font-size: 20px;
    background-color: var(--btn-color);
    color: var(--btn-text);
}

.btn-primary:hover{
    background-color: var(--btn-hover);
}

.date {
    font-style: italic;
    margin: 0em;
}
.tag {
    font-style: normal;
    padding-left: 1em;
    font-weight: lighter;
    font-size: .8em;
    text-decoration: none;
    color: var(--light-text);
}
.tag::before{
    content: "#";
}

.url-table, .ip-table {
    width: 30%;
}

form {
    width: 85%;
}

input[type=text], input[type=password], input[type=email] {
    height:1.5em;
    width: 100%;
    display: block;
    margin-top: 5px;
}

input[type=submit] {
    height:2em;
    width: 50%;
    margin-top: 5px;
    margin-left: 25%;
}

td {
    padding-right: 10px;
}

textarea {
    border-radius: 4px;
    border: 2px solid var(--background-accent);
    width: 100%;
    height: 10em;
}

.feed h1 {
    font-size: 24pt;
}

a.navigation:visited, a.navigation:link {
    color: var(--accent);
    text-decoration: none;
}