forked from oelna/javascript-girocode-bezahlcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
95 lines (78 loc) · 1.28 KB
/
main.css
File metadata and controls
95 lines (78 loc) · 1.28 KB
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
* {
box-sizing: border-box;
}
html {
font: 100%/1.4 --system-ui, Helvetica, Arial, sans-serif;
}
body {
padding: 0.5em;
}
#container {
display: flex;
flex-direction: column;
}
#container > * {
outline: 0px solid red;
}
#container #info p {
display: flex;
}
#container #info p label {
flex: 0 0 10em;
}
#container #info p input[type="text"],
#container #info p input[type="number"],
#container #info p textarea {
flex: 1 1 0;
font-size: 1rem;
padding: 0.2em;
border: 1px solid #ddd;
}
#container #info p span {
display: flex;
width: 100%;
}
#container #info p span select {
flex-basis: 6ch;
margin-right: 1em;
font-size: 1rem;
padding: 0.2em;
}
#codes a[download] {
display: inline-block;
margin-top: 1rem;
color: currentColor;
text-decoration: none;
padding: 0.2em 0.5em 0.2em;
border: 1px solid #ddd;
cursor: pointer;
}
#codes a[download]:is(:hover,:focus) {
background-color: #f4f4f4;
}
.code {
width: 10em;
height: 10em;
}
.note {
background: #fbeeca;
border-radius: 0.25em;
padding: 0.4em 0.6em;
font-size: 0.85rem;
}
@media only screen and (min-width: 55em) {
body {
padding: 2em;
}
#container {
flex-direction: row;
}
#container > * {
width: 50%;
}
#container #codes {
padding-left: 1em;
display: flex;
justify-content: space-around;
}
}