Skip to content

Commit 6fce27b

Browse files
committed
remove styles
1 parent c7d5ba6 commit 6fce27b

File tree

3 files changed

+5
-119
lines changed

3 files changed

+5
-119
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ is created using [cryogen](https://github.com/cryogen-project/cryogen)
88

99
## cloudflare workers
1010

11-
and deployed using [cloudflare workers](https://developers.cloudflare.com/workers/platform/sites/start-from-existing/)
11+
and is deployed using [cloudflare workers](https://developers.cloudflare.com/workers/platform/sites/start-from-existing/)
1212

1313
## github actions
1414

themes/pico/css/blog.css

+3-111
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,14 @@
1-
/* Global CSS variables */
2-
:root {
3-
--spacing-company: 3rem;
4-
--font-weight: 400;
5-
--border-radius: 0;
6-
}
7-
8-
/* Typography */
9-
h2,
10-
h3,
11-
hgroup > :last-child {
12-
font-weight: 200;
13-
}
14-
15-
small {
16-
color: var(--muted-color);
17-
}
18-
19-
/* Header */
20-
.hero {
21-
background-color: #394046;
22-
background-image: url("https://source.unsplash.com/DNQ-M93tHmA/3000x1000");
23-
background-position: center;
24-
background-size: cover;
25-
}
26-
27-
header {
28-
padding: var(--spacing-company) 0;
29-
}
30-
31-
header hgroup > :last-child {
32-
color: var(--h3-color);
33-
}
34-
35-
header hgroup {
36-
margin-bottom: var(--spacing-company);
37-
}
38-
39-
/* Nav */
40-
summary[role="link"].contrast:is([aria-current],:hover,:active,:focus) {
41-
background-color: transparent;
42-
color: var(--contrast-hover);
43-
}
44-
45-
/* Main */
46-
@media (min-width: 992px) {
47-
main .grid {
48-
grid-column-gap: var(--spacing-company);
49-
grid-template-columns: auto 25%;
50-
}
51-
}
52-
53-
form.grid {
54-
grid-row-gap: 0;
55-
}
56-
57-
/* Aside nav */
58-
aside img {
59-
margin-bottom: 0.25rem;
60-
}
61-
62-
aside p {
63-
margin-bottom: var(--spacing-company);
64-
line-height: 1.25;
65-
}
66-
67-
/* customize */
68-
69-
h1,
70-
h2,
71-
h3,
72-
h4,
73-
p,
74-
li,
75-
hgroup > :last-child {
76-
font-weight: 300;
77-
}
78-
79-
h4 > #home {
80-
color: grey;
81-
}
82-
83-
header a {
84-
margin-right: 5px;
85-
}
86-
87-
header a:not(:first-child) {
88-
/* text-decoration: underline; */
89-
}
90-
91-
p {
92-
line-height: 1.6;
93-
}
94-
95-
li {
96-
line-height: 1.4;
97-
}
98-
99-
code, kbd {
100-
padding: 0.2em 0.4em;
101-
font-size: .8em;
102-
border-radius: 5px;
103-
}
104-
105-
#notes {
106-
margin-bottom: 0;
1+
main {
2+
width: 400px;
1073
}
1084

1095
.footnotes li,
1106
.footnotes p {
111-
font-size: .7em;
7+
font-size: .8em;
1128
}
1139

11410
.footnotes p {
11511
margin-bottom: 0;
11612
margin-right: .5em;
11713
display: inline-block;
11814
}
119-
120-
.MathJax {
121-
font-size: 1em !important;
122-
}

themes/pico/html/base.html

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@
1111

1212
<link rel="shortcut icon" href="{{blog-prefix}}/img/z.png">
1313

14-
<link rel="stylesheet"
15-
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"/>
16-
<link rel="stylesheet"
17-
href="https://cdnjs.cloudflare.com/ajax/libs/picocss/1.5.6/pico.min.css"/>
1814
{% style "css/blog.css" %}
19-
<link rel="stylesheet"
20-
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/nord.min.css"/>
2115
{% if post.js %}
2216
<link rel=stylesheet"
2317
href="../../css/{{post.slug}}/{{post.slug}}.css"/>
@@ -34,7 +28,7 @@ <h4>
3428
<a href="/archives.html">archives</a>
3529
<a href="/til.html">til</a>
3630
<a href="https://github.com/zuzhi">github</a>
37-
<a href="https://twitter.com/huzuzhi">twitter</a>
31+
<a href="https://x.com/huzuzhi">x</a>
3832
</h4>
3933
</header>
4034

0 commit comments

Comments
 (0)