-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappstyles.css
More file actions
94 lines (78 loc) · 1.6 KB
/
appstyles.css
File metadata and controls
94 lines (78 loc) · 1.6 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
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Nova+Mono&display=swap');
:root {
--black: hsla(345, 6%, 13%, 1);
--orange: hsla(9, 59%, 46%, 1);
--blue: hsla(184, 36%, 63%, 1);
--champagne: hsla(45, 77%, 79%, 1);
--linen: hsla(30, 36%, 90%, 1);
--header-font: 'Dela Gothic One', cursive;
--mono-font: 'Nova Mono', monospace;
}
/* base */
* {
margin: 0px; padding: 0px;
box-sizing: border-box;
}
body {
font-family: var(--header-font);
}
.wrapper {
height: 100vh;
padding: 1%;
display: flex;
/*align-items: stretch;*/
flex-direction: column;
background-color: var(--champagne);
}
/* page */
header h1 {
text-align: right;
}
article {
flex: 1;
border: 4px solid var(--orange);
background-color: var(--linen);
display: grid;
grid-template-columns: 3fr 120px 4fr;
}
/* edit panels */
#edit section {
position: relative;
padding: 10px;
}
section h3 {
position: absolute; bottom: 14px; right: 10px;
color: var(--blue);
}
textarea {
width: 100%; height: 26vh;
background: transparent;
border: none;
border-bottom: 4px solid var(--blue);
resize: none;
font-family: var(--mono-font);
font-size: 1em;
}
/* other */
iframe {
width: 100%; height: 100%;
border: none;
}
#run {
border: none; background: none;
background-image: linear-gradient(
93deg,
transparent 23%,
var(--orange) 24%,
var(--orange) 76%,
transparent 77%
);
cursor: pointer;
}
#run span {
writing-mode: vertical-lr;
text-orientation: upright;
font-family: var(--header-font);
font-size: 2em;
color: var(--linen);
}