blob: f6fa0abed49c0e8440be34f57bc60a9777bede61 [file] [log] [blame]
swissChili4bccd442020-08-11 13:55:10 -07001$code: #f2f4f4;
2
3$bg: #1d1F21;
4$fg: #abb2bf;
5
6$black: #1e2127;
7$red: #e06c75;
8$green: #a0ea98;
9$yellow: #d1ed8b;
10$blue: #81A1C1;
11$magenta: #cb80ce;
12$cyan: #87dfe5;
13$white: #abb2bf;
14
15@import url('https://rsms.me/inter/inter.css');
16html
swissChilie392aeb2020-08-10 15:52:10 -070017{
swissChili4bccd442020-08-11 13:55:10 -070018 font-family: 'Inter', sans-serif;
19}
20
21@supports (font-variation-settings: normal)
22{
23 html
24 {
25 font-family: 'Inter var', sans-serif;
26 }
swissChilie392aeb2020-08-10 15:52:10 -070027}
28
29body
30{
31 display: grid;
32 place-items: center center
33}
34
35
36h4 code
37{
38 font-size: 1.5em;
39}
40
41code
42{
swissChili4bccd442020-08-11 13:55:10 -070043 background: $code;
swissChilie392aeb2020-08-10 15:52:10 -070044 border-radius: 5px;
45 padding: 3px 5px 3px 5px;
46}
47
swissChili4bccd442020-08-11 13:55:10 -070048a,
49a:visited
50{
51 color: #0242f2;
52 text-decoration: underline;
53
54 &:hover
55 {
56 color: #0056b3;
57 text-decoration: none;
58 }
59}
60
swissChilie392aeb2020-08-10 15:52:10 -070061.container
62{
63 width: 60em;
64}
65
66.nav
67{
68 font-size: 1.5rem;
69 display: flex;
70 flex-direction: row;
71
72 .wide
73 {
74 flex: 1;
75 font-weight: bold;
76 }
77}
78
79.split
80{
81 display: grid;
82 grid-template-columns: 16em auto;
swissChili4bccd442020-08-11 13:55:10 -070083
84 .sidebar
85 {
86 margin-right: 1em;
87 }
swissChilie392aeb2020-08-10 15:52:10 -070088}
89
90video
91{
92 width: 100%;
93}
94
95@media screen and (max-width: 58em)
96{
97 .split
98 {
99 display: flex;
100 flex-direction: column;
swissChili4bccd442020-08-11 13:55:10 -0700101
102 .sidebar
103 {
104 margin-right: none;
105 }
swissChilie392aeb2020-08-10 15:52:10 -0700106 }
107
108 .container
109 {
110 width: calc(100% - 2em);
111 margin: 1em;
112 }
113}
swissChili4bccd442020-08-11 13:55:10 -0700114
115.hljs
116{
117 display: block;
118 overflow-x: auto;
119 background: $code;
120 padding: 1em;
121 color: $black;
122 font-size: 1rem;
123 font-family: monospace;
124 font-variant-ligatures: normal;
125 font-weight: 500;
126}
127.hljs-comment, .hljs-quote
128{
129 font-style: italic;
130 color: $green;
131}
132.hljs-name, .hljs-selector-id, .hljs-selector-class, .hljs-regexp, .hljs-deletion
133{
134 font-weight: 500;
135}
136.hljs-variable, .hljs-template-variable, .hljs-tag
137{
138 font-weight: 600;
139}
140.hljs-number, .hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params, .hljs-link
141{
142 font-weight: 400;
143 font-style: italic;
144}
145.hljs-attribute
146{
147 font-weight: 700;
148}
149.hljs-string, .hljs-symbol, .hljs-bullet, .hljs-addition
150{
151 font-style: italic;
152 color: $red;
153}
154.hljs-title, .hljs-section
155{
156 font-style: underline;
157 color: $blue;
158}
159.hljs-keyword, .hljs-built_in, .hljs-selector-tag
160{
161 color: $blue;
162 font-weight: bold;
163}
164.hljs-emphasis
165{
166 font-weight: 700;
167}
168.hljs-strong
169{
170 font-weight: 700;
171 opacity: 1;
172}