Skip to content

Commit 59d2c87

Browse files
authored
Create main.css
1 parent 94ab1ed commit 59d2c87

File tree

1 file changed

+183
-0
lines changed

1 file changed

+183
-0
lines changed

assets/kylestechkorner/main.css

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
@import url('https://cdn.cache.lol/profiles/themes/css/dracula.css');
2+
3+
:root {
4+
--foreground: #d8dee9;
5+
--background: #2E3440;
6+
--link: #5e81ac;
7+
--accent: #868e96;
8+
}
9+
10+
* {
11+
box-sizing: border-box;
12+
}
13+
14+
body {
15+
font-family: 'Mint Grotesk', sans-serif;
16+
font-size: 120%;
17+
color: var(--foreground);
18+
background: var(--background);
19+
}
20+
21+
header nav ul {
22+
list-style-type: none;
23+
margin: 0;
24+
padding: 0;
25+
}
26+
27+
header nav li {
28+
display: inline-block;
29+
}
30+
31+
header nav li a {
32+
display: block;
33+
text-decoration: none;
34+
margin-right: 1em;
35+
}
36+
37+
h1,
38+
h2,
39+
h3,
40+
h4,
41+
h5,
42+
h6 {
43+
font-family: 'Mint Grotesk', sans-serif;
44+
margin: 1rem 0;
45+
}
46+
47+
p,
48+
li {
49+
line-height: 160%;
50+
}
51+
52+
.profile-picture {
53+
border-radius: 100%;
54+
height: 8.7em;
55+
}
56+
57+
header {
58+
max-width: 60em;
59+
margin: 2em auto;
60+
padding: 0 1em;
61+
}
62+
63+
footer {
64+
margin-top: 5em;
65+
max-width: 60em;
66+
padding: 2em;
67+
}
68+
69+
footer ul {
70+
list-style: none;
71+
margin: 0;
72+
}
73+
74+
footer li {
75+
display: inline;
76+
}
77+
78+
.center {
79+
text-align: center;
80+
}
81+
82+
header {
83+
margin-top: 4em;
84+
text-align: center;
85+
}
86+
87+
footer p {
88+
font-size: 90%;
89+
text-align: center;
90+
}
91+
92+
a:link {
93+
color: var(--link);
94+
}
95+
96+
a:visited {
97+
color: var(--link);
98+
}
99+
100+
a:hover {
101+
color: var(--link);
102+
}
103+
104+
a:active {
105+
color: var(--link);
106+
}
107+
108+
.post-info,
109+
.post-tags {
110+
font-size: 85%;
111+
color: var(--accent);
112+
text-align: left;
113+
}
114+
115+
.post-info i:nth-child(2) {
116+
margin-left: .75em;
117+
}
118+
119+
.tag {
120+
background: var(--accent);
121+
color: var(--background) !important;
122+
padding: .3em .4em;
123+
margin: .8em 0 0 .4em;
124+
border-radius: .5em;
125+
text-decoration: none;
126+
display: inline-block;
127+
}
128+
129+
hr {
130+
height: 1px;
131+
border-width: 0;
132+
color: var(--accent);
133+
background-color: var(--accent);
134+
margin: 2em 0;
135+
}
136+
137+
code {
138+
padding: .2em .3em;
139+
border: 1px solid var(--accent);
140+
white-space: pre-wrap;
141+
word-wrap: break-word;
142+
}
143+
144+
pre,
145+
code {
146+
font-family: 'MD IO 0.4';
147+
font-size: 90%;
148+
}
149+
150+
pre code {
151+
background: #000;
152+
color: #eee;
153+
display: inline-block;
154+
padding: 1em;
155+
white-space: pre-wrap;
156+
word-wrap: break-word;
157+
}
158+
159+
img {
160+
max-width: 100%;
161+
}
162+
163+
table {
164+
border-collapse: collapse;
165+
}
166+
167+
td,
168+
th {
169+
padding: .75em;
170+
text-align: left;
171+
border: 1px solid var(--accent);
172+
}
173+
174+
.weblog-title a {
175+
text-decoration: none !important;
176+
color: var(--foreground);
177+
}
178+
179+
.previous-page+.next-page::before {
180+
content: "\2022";
181+
color: #ccc;
182+
margin: 0 0.75em;
183+
}

0 commit comments

Comments
 (0)