Project

General

Profile

Download (1.84 KB) Statistics
| Branch: | Tag: | Revision:

haketilo / html / base.css @ 2bd35bc4

1
/**
2
 * This file is part of Haketilo.
3
 *
4
 * Function: Base styles.
5
 *
6
 * Copyright (C) 2021 Wojtek Kosior
7
 * Copyright (C) 2021 Nicholas Johnson
8
 * Redistribution terms are gathered in the `copyright' file.
9
 */
10

    
11
body {
12
    font-family: sans-serif;
13
    background-color: #f0f0f0;
14
    color: #555;
15
    overflow: auto;
16
}
17

    
18
.bold, h2 {
19
    font-weight: bold;
20
}
21

    
22
h2 {
23
    margin: 8px;
24
    font-size: 120%;
25
}
26

    
27
h3 {
28
    padding: 5px;
29
    font-size: 108%;
30
    text-shadow: 0 0 0 #454;
31
}
32

    
33
textarea {
34
    font-family: monospace;
35
}
36

    
37
input[type="checkbox"], input[type="radio"], .hide {
38
    display: none;
39
}
40

    
41
.camouflage {
42
    visibility: hidden;
43
}
44

    
45
.show_next:not(:checked)+* {
46
    display: none;
47
}
48

    
49
.show_hide_next2:not(:checked)+* {
50
    display: none;
51
}
52

    
53
.show_hide_next2:checked+*+* {
54
    display: none;
55
}
56

    
57
button, .button {
58
    background-color: #4CAF50;
59
    border: none;
60
    border-radius: 8px;
61
    color: white;
62
    text-align: center;
63
    text-decoration: none;
64
    display: inline-block;
65
    padding: 6px 12px;
66
    margin: 2px 0px;
67
    -moz-user-select: none;
68
    user-select: none;
69
    cursor: pointer;
70
    font: 400 15px sans-serif;
71
}
72

    
73
button.slimbutton, .button.slimbutton {
74
    padding: 2px 4px;
75
    margin: 0;
76
}
77

    
78
button:hover, .button:hover {
79
    box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
80
}
81

    
82
aside {
83
    background: #3f8dc6;
84
    margin: 5px 0;
85
    padding: 0.3em 1em;
86
    border-radius: 3px;
87
    color: #fff;
88
}
89

    
90
textarea: {
91
    resize: none;
92
}
93

    
94
.has_bottom_line::after, .has_upper_line::before {
95
    content: "";
96
    display: block;
97
    height: 8px;
98
    background: linear-gradient(transparent, #555);
99
}
100

    
101
.has_bottom_line::after {
102
    background: linear-gradient(#555, transparent);
103
}
104

    
105
.has_bottom_thin_line {
106
    border-bottom: dashed #4CAF50 1px;
107
}
108

    
109
.has_upper_thin_line {
110
    border-top: dashed #4CAF50 1px;
111
}
112

    
113
.nowrap {
114
    white-space: nowrap;
115
}
(4-4/14)