summaryrefslogtreecommitdiff
path: root/app/static/styles/style.css
blob: a07d423282e8ca8951bc2ee2a455e080f5abda5a (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
/* -*- mode: web; -*- */


:root {
    --primary-color: #003B5C;
    --secondary-color: #C3D7EE;
    --home: #c8c8c8;
    --yes: #80FF80;
    --no: #FF8080;
    font-size: 18;
    --fast-speed: 0.2s;
    --med-speed: 0.4s;
    --slow-speed: 1s;
}

body {
    font-family: "Public Sans", sans-serif;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}


@font-face {
    font-family: "Public Sans";
    src: url("/static/fonts/PublicSans-Regular.otf");
}

@font-face {
    font-family: "Inconsolata";
    src: url("/static/fonts/Inconsolata.otf");
}


h1 {
    margin: 0;
    padding: 0.5em 0;
    vertical-align: baseline;
    display: inline;
}

nav {
    background: darkgrey;
    color: white;
    padding: 0 0.25em;
}

nav#user {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
}

nav#user ul {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0.25em 0;
    list-style: none;
}

nav ul li {
    margin: 0.25em;
}




.button {
    display: inline-block;
    padding: 0.5em;
    background: dimgray;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    border: 1px dimgray solid;
}

.button-light {
    background: white;
    color: dimgray;
}

.button:hover {
    background: white;
    color: black;
    border: 1px dimgray solid;
}

#content {
    max-width: 60vw;
    margin: 0 auto;
}

table {
    font-family: "Inconsolata";
    line-height: 1.5;
    /* border-collapse: collapse; */
    /* margin: 2em auto; */
    width: 100%;
}

table thead {
    background: dimgray;
    color: white;
}

table tr:nth-child(even) {
    background: lightgray;
}

#flash {
    position: fixed;
    max-width: 16em;
    bottom: 0;
    right: 0;
    padding: 0 0.5em;
}

#flash ul {
    margin: 0;
    padding: 0.25em 0;
    list-style-type: none;
}

#flash ul li {
    margin: 0.25em;
}

@keyframes fadeIn {
    0% {
	opacity: 0;
	transform: translateY(100%);
    }
    100% {
	opacity: 0.8;
	transform: translateY(0);
    }
}

.alert {
    padding: 1em;
    margin: 0.5em;
    border-radius: 8px;
    /* border: 1px dimgray solid; */
    opacity: 0.8;
    animation: 0.5s ease-out 0s 1 fadeIn;
}

/* The default alert category */
.alert-message {
    background: cornflowerblue;
    color: black;
}

.alert-info {
    background: darkblue;
    color: white;
}

.alert-error {
    background: maroon;
    color: white;
}
#downloads {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
}
fieldset {
    margin: 0 auto;
    max-width: 16em;
    display: flex;
    flex-direction: column;
}
Copyright 2019--2024 Marius PETER