File tree 10 files changed +90
-72
lines changed
10 files changed +90
-72
lines changed Original file line number Diff line number Diff line change 1
1
: root {
2
- /* === fonts === */
2
+ /* -- fonts -- */
3
3
--font-regular : go, system-ui;
4
4
--font-mono : go-mono, monospace;
5
5
6
6
color-scheme : light dark;
7
- /* === palette === */
8
- --color-major : light-dark (oklch (10% 0.01 157.38 ), # eee );
9
- --color-minor : light-dark (# f38401, # ff66aa );
7
+ /* -- palette -- */
8
+ --color-major : light-dark (oklch (10% 0.01 157.38 ), # eee );
9
+ --color-minor : light-dark (# f38401, # ff66aa );
10
10
11
11
--color-bg : light-dark (# dddddd, # 222222 );
12
12
}
@@ -25,10 +25,12 @@ html,
25
25
body {
26
26
height : 100dvh ;
27
27
background-color : var (--color-bg );
28
+
29
+ display : grid;
30
+ grid-template-rows : auto 1fr ;
28
31
}
29
32
30
33
main {
31
- height : 100dvh ;
32
34
display : grid;
33
35
}
34
36
Original file line number Diff line number Diff line change 1
- .home {
1
+ # home {
2
+ padding : 0 20dvw ;
3
+
2
4
display : grid;
3
- column-gap : 4rem ;
4
5
grid-template-columns : auto auto;
5
- justify-content : center;
6
- justify-items : center;
6
+ column-gap : 2rem ;
7
7
align-content : center;
8
+
9
+ > * {
10
+ padding : 2rem ;
11
+ }
8
12
}
9
13
10
- .home .links {
11
- grid-row : 2 ;
14
+ # home_dashboard {
15
+ display : grid;
16
+ grid-template-rows : 2fr 1fr 1fr ;
17
+ row-gap : 0.3rem ;
18
+ }
19
+ .card {
20
+ background-color : var (--color-minor );
21
+ border : 3px solid var (--color-major );
22
+ }
23
+ # home_dashboard_links {
12
24
display : flex;
13
- flex-direction : column;
14
- gap : 1rem ;
15
-
16
- font-size : 18px ;
25
+ align-items : center;
17
26
}
18
27
19
- .home .category {
20
- grid-row : 1 / span 2 ;
21
- font-size : 22px ;
28
+ # home_category {
29
+ font-size : 1.3rem ;
22
30
23
31
display : flex;
24
32
flex-direction : column;
25
33
26
-
27
34
a {
28
- padding : .5rem ;
35
+ padding : 0 .5rem ;
29
36
border : 3px solid transparent;
30
- transition :
31
- color .2s ease-in-out,
32
- background-color .2s ease-in-out;
37
+ transition : color 0.2s ease-in-out, background-color 0.2s ease-in-out;
33
38
34
39
& : hover {
35
40
text-decoration : none;
Original file line number Diff line number Diff line change @@ -26,24 +26,31 @@ section.article {
26
26
.article .content {
27
27
margin-top : 1rem ;
28
28
flex-wrap : wrap;
29
- font-size : 1.4 rem ;
29
+ font-size : 1 rem ;
30
30
31
31
span {
32
32
white-space : pre-wrap;
33
33
}
34
34
35
35
/* headings */
36
- h2 , h3 , h4 , h5 , h6 {
36
+ h2 ,
37
+ h3 ,
38
+ h4 ,
39
+ h5 ,
40
+ h6 {
37
41
color : light-dark (var (--light-minor ), var (--dark-minor ));
38
42
margin : 1rem 0 0 0 ;
39
43
width : fit-content;
40
44
41
45
& ::after {
42
- margin-top : .4rem ;
43
- content : '' ;
46
+ margin-top : 0 .4rem ;
47
+ content : "" ;
44
48
display : block;
45
- height : .1rem ;
46
- background-color : light-dark (var (--light-minor ), var (--dark-minor ) 0% );
49
+ height : 0.1rem ;
50
+ background-color : light-dark (
51
+ var (--light-minor ),
52
+ var (--dark-minor ) 0%
53
+ );
47
54
}
48
55
}
49
56
@@ -60,7 +67,11 @@ section.article {
60
67
/* blockquote */
61
68
blockquote {
62
69
margin : 1rem 0 ;
63
- background : linear-gradient (to right, var (--dark-minor ), var (--dark-bg ) 60% );
70
+ background : linear-gradient (
71
+ to right,
72
+ var (--dark-minor ),
73
+ var (--dark-bg ) 60%
74
+ );
64
75
}
65
76
66
77
pre {
@@ -84,7 +95,7 @@ section.article {
84
95
85
96
counter-reset : line;
86
97
> span {
87
- margin : .2rem auto;
98
+ margin : 0 .2rem auto;
88
99
padding-left : 4rem ;
89
100
position : relative;
90
101
/* === line numbers === */
@@ -112,7 +123,6 @@ section.article {
112
123
background-color : rgb (35 , 102 , 102 );
113
124
}
114
125
115
-
116
126
img {
117
127
width : 60% ;
118
128
}
Original file line number Diff line number Diff line change 1
- .breadcrump {
1
+ .breadcrumb {
2
2
display : flex;
3
3
flex-direction : row;
4
- align-self : center;
4
+ align-items : center;
5
5
6
6
white-space : nowrap;
7
7
8
8
background-color : # 111111 ;
9
9
padding : 1rem 2rem 1rem 1rem ;
10
10
11
-
12
11
* {
13
12
font-family : var (--font-mono );
14
13
font-size : 32px ;
18
17
display : inline-flex;
19
18
font-weight : bold;
20
19
21
- & ::before {
20
+ & ::before {
22
21
content : "" ;
23
- border-left : # fff solid .4rem ;
24
- padding : .5rem ;
22
+ border-left : # fff solid 0 .4rem ;
23
+ padding : 0 .5rem ;
25
24
}
26
- & : first-child ::before {
25
+ & : first-child ::before {
27
26
content : "~" ;
28
27
}
29
- & : not (: last-child ): after {
28
+ & : not (: last-child ): after {
30
29
content : "/" ;
31
30
}
32
31
36
35
}
37
36
}
38
37
39
-
40
38
.signage {
41
- color : # fff ;
42
- & ::after {
39
+ width : 100 % ;
40
+ & ::after {
43
41
content : "_" ;
44
- animation : .5s blinking alternate infinite;
42
+ animation : 0 .5s blinking alternate infinite;
45
43
}
46
44
}
45
+ }
47
46
47
+ # clock {
48
+ font-size : 1rem ;
48
49
}
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html lang ="{{ .Site.Language }} ">
3
3
4
- < head >
5
- < meta charset ="utf-8 ">
6
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
4
+ < head >
5
+ < meta charset ="utf-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
7
8
- {{/* {{ block "title" . }} */}}
9
- < title > proxyerium's website</ title >
8
+ {{/* {{ block "title" . }} */}}
9
+ < title > proxyerium's website</ title >
10
10
11
- {{ $styles := resources.Match "/css/**.css"}}
12
- {{ $bundle := $styles | resources.Concat "css/bundle.css" | minify }}
13
- < link rel ="stylesheet " href ="{{ $bundle.RelPermalink }} " />
14
- </ head >
11
+ {{ $styles := resources.Match "/css/**.css" }}
12
+ {{ $bundle := $styles | resources.Concat "css/bundle.css" | minify }}
13
+ < link rel ="stylesheet " href ="{{ $bundle.RelPermalink }} " />
14
+ </ head >
15
15
16
- < body >
17
- {{ block "main" . }} {{ end }}
18
- </ body >
16
+ < body >
17
+ {{ partial "breadcrumb" . }}
18
+ {{ block "main" . }} {{ end }}
19
+ </ body >
19
20
20
21
</ html >
Original file line number Diff line number Diff line change 1
1
{{ define "main" }}
2
2
3
3
< main class ="home ">
4
- {{ partial "breadcrump " . }}
4
+ {{ partial "breadcrumb " . }}
5
5
6
6
< div class ="home links ">
7
7
< nav >
Original file line number Diff line number Diff line change 1
1
{{ define "main" }}
2
2
< main class ="section ">
3
- {{ partial "breadcrump" . }}
4
3
{{ .Content }}
5
4
{{ partial "list" . }}
6
5
</ main >
Original file line number Diff line number Diff line change 1
1
{{ define "main" }}
2
2
< main class ="single ">
3
- {{ partial "breadcrump" . }}
4
-
5
3
{{ partial "article" . }}
6
4
</ main >
7
5
{{ end }}
Original file line number Diff line number Diff line change
1
+ < div class ="breadcrumb ">
2
+ < nav class ="location ">
3
+ <!-- Ancestors -->
4
+ {{ range after 0 .Ancestors.Reverse }}
5
+ < a href ="{{ .RelPermalink }} "> {{ .File.ContentBaseName }}</ a >
6
+ {{ end }}
7
+ <!-- Current -->
8
+ < a href ="{{ .RelPermalink }} "> {{ .File.ContentBaseName }}</ a >
9
+ </ nav >
10
+
11
+ < h1 class ="signage "> $ proxyerium</ h1 >
12
+
13
+
14
+ </ div >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments