1
|
/**
|
2
|
* Hachette base styles
|
3
|
*
|
4
|
* Copyright (C) 2021 Wojtek Kosior
|
5
|
* Copyright (C) 2021 Nicholas Johnson
|
6
|
* Redistribution terms are gathered in the `copyright' file.
|
7
|
*/
|
8
|
|
9
|
body {
|
10
|
font-family: sans-serif;
|
11
|
background-color: #f0f0f0;
|
12
|
color: #555;
|
13
|
overflow: auto;
|
14
|
}
|
15
|
|
16
|
textarea {
|
17
|
font-family: monospace;
|
18
|
}
|
19
|
|
20
|
input[type="checkbox"], input[type="radio"], .hide {
|
21
|
display: none;
|
22
|
}
|
23
|
|
24
|
.camouflage {
|
25
|
visibility: hidden;
|
26
|
}
|
27
|
|
28
|
.show_next:not(:checked)+* {
|
29
|
display: none;
|
30
|
}
|
31
|
|
32
|
.show_hide_next2:not(:checked)+* {
|
33
|
display: none;
|
34
|
}
|
35
|
|
36
|
.show_hide_next2:checked+*+* {
|
37
|
display: none;
|
38
|
}
|
39
|
|
40
|
button, .button {
|
41
|
background-color: #4CAF50;
|
42
|
border: none;
|
43
|
border-radius: 8px;
|
44
|
color: white;
|
45
|
text-align: center;
|
46
|
text-decoration: none;
|
47
|
display: inline-block;
|
48
|
padding: 6px 12px;
|
49
|
margin: 2px 0px;
|
50
|
-moz-user-select: none;
|
51
|
user-select: none;
|
52
|
cursor: pointer;
|
53
|
font: 400 15px sans-serif;
|
54
|
}
|
55
|
|
56
|
button.slimbutton, .button.slimbutton {
|
57
|
padding: 2px 4px;
|
58
|
margin: 0;
|
59
|
}
|
60
|
|
61
|
button:hover, .button:hover {
|
62
|
box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
|
63
|
}
|
64
|
|
65
|
aside {
|
66
|
background: #3f8dc6;
|
67
|
margin: 5px 0;
|
68
|
padding: 0.3em 1em;
|
69
|
border-radius: 3px;
|
70
|
color: #fff;
|
71
|
}
|
72
|
|
73
|
textarea: {
|
74
|
resize: none;
|
75
|
}
|
76
|
|
77
|
.has_bottom_line::after, .has_upper_line::before {
|
78
|
content: "";
|
79
|
display: block;
|
80
|
height: 8px;
|
81
|
background: linear-gradient(transparent, #555);
|
82
|
}
|
83
|
|
84
|
.has_bottom_line::after {
|
85
|
background: linear-gradient(#555, transparent);
|
86
|
}
|