-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
125 lines (105 loc) · 3.45 KB
/
style.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
120
121
122
123
124
125
:root {
--primary-0: #ffffff;
--primary-500: #002354;
--bg-dark: #121212;
--text-light: #f0f0f0;
--button-color: #0066cc;
--button-hover-color: #0055aa;
--font-family-title: Bungee, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
--font-family-text: Sofia Sans, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
--header-spacing-y: 1rem;
--section-spacing: 2rem;
--max-width: 800px;
}
body, html {
margin: 0;
padding: 0;
background-color: var(--bg-dark);
color: var(--text-light);
font-family: var(--font-family-text);
}
header, footer {
text-align: center;
padding: 1rem;
}
header h1, header p {
margin: 0.5rem auto;
max-width: var(--max-width);
}
footer {
margin-top: 2rem;
padding: 1rem;
font-size: 0.9rem;
background-color: #1d1d1d;
color: var(--text-light);
}
footer a {
color: var(--button-color);
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
}
.editor-container {
max-width: var(--max-width);
width: 100%;
text-align: center;
margin-bottom: var(--section-spacing);
}
/* Button Container */
.button-container {
display: flex;
gap: 10px;
margin-top: 10px;
}
/* Button Styling */
#runButton, #clearButton {
padding: 10px 20px;
font-size: 16px;
background-color: #444;
color: #ffffff;
border: none;
cursor: pointer;
transition: background-color 0.3s;
}
#runButton:hover, #clearButton:hover {
background-color: #666;
}
code{
background-color: #1e1e1e;
}
.output-container {
background-color: #1e1e1e;
color: var(--text-light);
padding: 1rem;
border-radius: 4px;
margin-top: 1rem;
max-height: 150px;
overflow-y: auto;
text-align: left;
}
.keywords {
max-width: var(--max-width);
width: 100%;
padding: var(--header-spacing-y);
margin-top: var(--section-spacing);
}
.keywords h2, .keywords p {
text-align: center;
margin-bottom: 1rem;
}
pre#output {
margin: 0;
}
/* DON'T CHANGE THESE CSS STYLES BELOW */
section:has(code-bedder) {
display: grid;
}
/* PrismJS Code */
code[class*=language-],pre[class*=language-]{color:#ccc;background:0 0;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}