-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
112 lines (90 loc) · 1.63 KB
/
styles.css
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
* {
margin: 0;
padding: 0;
}
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
:root {
--spacing: 1rem;
--max-width: 56rem;
--font-size-button: 1rem;
--font-family: -system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
--color-light-gray: #f5f5f5;
--color-background-code: var(--color-light-gray);
}
.hidden {
/* Viljum að þetta feli alltaf element, notum því !important */
display: none !important;
}
html {
font-family: var(--font-family);
}
input,
textarea,
button {
font-size: inherit;
}
h1,
h2,
h3 {
margin-block-end: var(--spacing);
}
code {
display: inline-block;
background-color: var(--color-background-code);
padding: 0.2em 0.3em;
border-radius: 0.2em;
}
code.wide {
display: block;
padding: 0.4em 1em;
margin-inline-start: -1rem;
margin-inline-end: -1rem;
width: calc(100% + 2rem);
}
pre {
overflow-x: auto;
}
main {
display: flex;
flex-direction: column;
gap: var(--spacing);
margin: var(--spacing) auto;
padding-inline: var(--spacing);
max-width: var(--max-width);
}
.string-form {
display: flex;
flex-direction: column;
gap: var(--spacing);
}
.string-form .buttons {
display: flex;
gap: var(--spacing);
}
.string-form .output {
display: flex;
flex-direction: column;
gap: var(--spacing);
}
.string-form .output ul {
list-style: none;
}
textarea {
min-height: 30vh;
padding: 1rem;
margin-inline-start: -1rem;
margin-inline-end: -1rem;
}
button {
padding: 0.5rem 1rem;
cursor: pointer;
font-size: var(--font-size-button);
}