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
|
.bold, h2 {
|
17
|
font-weight: bold;
|
18
|
}
|
19
|
|
20
|
h2 {
|
21
|
margin: 8px;
|
22
|
font-size: 120%;
|
23
|
}
|
24
|
|
25
|
h3 {
|
26
|
padding: 5px;
|
27
|
font-size: 108%;
|
28
|
text-shadow: 0 0 0 #454;
|
29
|
}
|
30
|
|
31
|
textarea {
|
32
|
font-family: monospace;
|
33
|
}
|
34
|
|
35
|
input[type="checkbox"], input[type="radio"], .hide {
|
36
|
display: none;
|
37
|
}
|
38
|
|
39
|
.camouflage {
|
40
|
visibility: hidden;
|
41
|
}
|
42
|
|
43
|
.show_next:not(:checked)+* {
|
44
|
display: none;
|
45
|
}
|
46
|
|
47
|
.show_hide_next2:not(:checked)+* {
|
48
|
display: none;
|
49
|
}
|
50
|
|
51
|
.show_hide_next2:checked+*+* {
|
52
|
display: none;
|
53
|
}
|
54
|
|
55
|
button, .button {
|
56
|
background-color: #4CAF50;
|
57
|
border: none;
|
58
|
border-radius: 8px;
|
59
|
color: white;
|
60
|
text-align: center;
|
61
|
text-decoration: none;
|
62
|
display: inline-block;
|
63
|
padding: 6px 12px;
|
64
|
margin: 2px 0px;
|
65
|
-moz-user-select: none;
|
66
|
user-select: none;
|
67
|
cursor: pointer;
|
68
|
font: 400 15px sans-serif;
|
69
|
}
|
70
|
|
71
|
button.slimbutton, .button.slimbutton {
|
72
|
padding: 2px 4px;
|
73
|
margin: 0;
|
74
|
}
|
75
|
|
76
|
button:hover, .button:hover {
|
77
|
box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
|
78
|
}
|
79
|
|
80
|
aside {
|
81
|
background: #3f8dc6;
|
82
|
margin: 5px 0;
|
83
|
padding: 0.3em 1em;
|
84
|
border-radius: 3px;
|
85
|
color: #fff;
|
86
|
}
|
87
|
|
88
|
textarea: {
|
89
|
resize: none;
|
90
|
}
|
91
|
|
92
|
.has_bottom_line::after, .has_upper_line::before {
|
93
|
content: "";
|
94
|
display: block;
|
95
|
height: 8px;
|
96
|
background: linear-gradient(transparent, #555);
|
97
|
}
|
98
|
|
99
|
.has_bottom_line::after {
|
100
|
background: linear-gradient(#555, transparent);
|
101
|
}
|
102
|
|
103
|
.has_bottom_thin_line {
|
104
|
border-bottom: dashed #4CAF50 1px;
|
105
|
}
|
106
|
|
107
|
.has_upper_thin_line {
|
108
|
border-top: dashed #4CAF50 1px;
|
109
|
}
|
110
|
|
111
|
.nowrap {
|
112
|
white-space: nowrap;
|
113
|
}
|