blob: 93bdb1d7d22c2ab08fd9d69cdb9f813052d5330c (
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
|
/*
* This file contains styles specific to the "join" views. There are a couple
* of views which are all part of the same user flow and reuse some styles. The
* corresponding HTML/template files are `views/join_*.html`.
*/
main {
/* Center align and keep width readable. */
width: 100%;
max-width: 500px;
margin: 2rem auto;
}
/* Some pages are text heavy. Keep a nice line distance. */
p { line-height: 1.5; }
.button {
/* Horizontally center the element */
display: block;
margin-inline: auto;
/* Make it look dark and twisted */
background-color: #6e1818;
color: white;
border: none;
border-radius: 500px;
padding: 1rem;
font-size: large;
}
/* The usual dimming effect makes interaction feel more tactile */
.button:hover { filter: brightness(90%); }
.button:active { filter: brightness(60%); }
/* We use button-styles anchor-tags to preserve HTML semantics. */
a.button {
/* Remove link styling */
color: inherit;
text-decoration: none;
/* Inline elements expand by default. */
width: fit-content;
}
|