-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
119 lines (97 loc) · 2.06 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
113
114
115
116
117
118
119
/* https://fonts.google.com/share?selection.family=Atkinson+Hyperlegible|Courier+Prime|Cousine|Geologica|Merriweather|Ubuntu+Mono */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&family=Courier+Prime&family=Cousine&family=Geologica&family=Merriweather&family=Ubuntu+Mono&display=swap');
* {
box-sizing: border-box;
}
/*
font-family: 'Atkinson Hyperlegible', sans-serif;
font-family: 'Courier Prime', monospace;
font-family: 'Cousine', monospace;
font-family: 'Geologica', sans-serif;
font-family: 'Merriweather', serif;
font-family: 'Ubuntu Mono', monospace;
*/
:root {
font-size: 16px;
--mainFont: 'Cousine', monospace;
--mainFontSize: 20px;
}
@media (max-width: 750px) {
:root {
font-size: 14px;
}
}
@media (max-width: 360px) {
:root {
font-size: 12px;
}
}
html, body {
display: block;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
main {
display: block;
margin: 0 auto;
padding-top: 2rem;
max-width: 750px;
height: 90%;
}
textarea {
display: block;
width: 100%;
height: 100%;
padding: 0 0.5rem;
color: #333;
tab-size: 4;
font-size: var(--mainFontSize);
font-family: var(--mainFont), monospace;
word-break: normal;
overflow-wrap: break-word;
white-space: pre-wrap;
resize: none;
outline: none;
box-shadow: none;
border: none;
}
textarea::-webkit-scrollbar {
display: none; /* Chrome, Safari and Opera */
}
textarea {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
footer {
display: block;
width: 100%;
height: 10%;
margin: 0 auto;
padding: 1.3rem 0 0 0;
color: #555;
font-family: 'Cousine', monospace;
font-size: 0.9rem;
line-height: 1.5;
text-align: center;
}
footer div.footerControls, footer span.separator {
user-select: none;
}
footer span.separator {
padding: 0 0.5rem;
}
select#fontSelector {
font-family: 'Cousine', monospace;
padding: 0.1rem 0.2rem;
border: 1px solid #CCC;
max-width: 8rem;
border-right: none;
}
input#fontSize {
font-family: 'Cousine', monospace;
padding: 0.1rem 0 0.1rem 0.3rem;
border: 1px solid #CCC;
max-width: 4rem;
}