File tree 7 files changed +65
-90
lines changed
7 files changed +65
-90
lines changed Original file line number Diff line number Diff line change 1
- # home-bio {
2
- div {
3
- background-color : # 111111 ;
4
- margin : 1rem 0 ;
5
- padding : 1rem 1rem ;
6
- }
7
- h1 {
8
- border-left : .3rem solid # eee ;
9
- padding : .5rem 1rem ;
1
+ .home .hero {
2
+ background-color : # 000 ;
3
+ padding : 2rem 2rem 2rem 1rem ;
10
4
11
- font-size : 2.4rem ;
5
+ > h1 {
6
+ padding-left : 1rem ;
7
+ border-left : .3rem solid # fff ;
8
+ & ::before {
9
+ content : "~" ;
10
+ }
12
11
& ::first-letter {
13
12
color : magenta;
14
13
}
17
16
animation : .5s blinking alternate infinite;
18
17
}
19
18
}
20
-
21
- text-align : center;
22
- a {
23
- word-wrap : break-word;
24
- font-size : 1.2rem ;
25
- text-decoration : underline var (--txt-minorcolor-dark );
26
- }
27
19
}
28
20
29
- # home- navbar {
21
+ . home . navbar {
30
22
display : flex;
31
23
flex-direction : column;
32
24
gap : 1rem ;
33
25
34
- font-size : 1.2 rem ;
26
+ font-size : 18 px ;
35
27
}
36
28
37
- # home-toolbar {
38
- margin : 4rem 1rem ;
39
-
40
- grid-column : 1 / span 2 ;
41
- justify-self : center;
29
+ .home .list {
30
+ font-size : 22px ;
31
+ margin-top : 4rem ;
42
32
43
- input [ type = "button" ] {
44
- background-color : # 111111 ;
45
- }
33
+ display : flex;
34
+ flex-direction : column ;
35
+ gap : 1 rem ;
46
36
}
Original file line number Diff line number Diff line change 9
9
10
10
html ,
11
11
body ,
12
- # app-container ,
13
- # app-main {
12
+ main {
14
13
height : 100% ;
15
14
width : 100% ;
16
15
background-color : var (--bg-color );
@@ -19,27 +18,16 @@ body,
19
18
a {
20
19
color : var (--txt-minorcolor-dark );
21
20
text-decoration : none;
22
- }
23
-
24
- # app-container {
25
- display : flex;
26
- flex-direction : column;
27
21
28
- overflow : auto;
22
+ & : hover {
23
+ font-weight : bolder;
24
+ text-decoration : underline;
25
+ }
29
26
}
30
- # app-main {
31
- display : grid;
32
- grid-template-columns : 30% 20% ;
33
27
28
+ main {
29
+ display : grid;
34
30
place-content : center;
35
31
place-items : center;
36
- }
37
- # app-footer {
38
- justify-self : end;
39
- background-color : rgba (30 , 141 , 210 , 0.343 );
40
-
41
- text-align : center;
42
- margin-top : auto;
43
- border-top : 2px solid # 776f64 ;
44
- padding : 1rem 0 ;
32
+ row-gap : 1rem ;
45
33
}
Original file line number Diff line number Diff line change 1
- @font-face {
1
+ /* @font-face {
2
2
font-family: 'go fonts';
3
3
src:
4
4
url('../font/Go-Regular.ttf') format('truetyle'),
5
5
url('../font/Go-Bold.ttf') format('ttf'),
6
6
url('../font/Go-Italic.ttf') format('truetyle'),
7
7
url('../font/Go-Mono.ttf') format('truetyle');
8
- }
8
+ } */
9
9
10
10
: root {
11
11
--font-base : 'consolas' ;
12
12
13
+ /* === text colors === */
13
14
--txt-majorcolor-dark : oklch (90% 0.01 157.38 );
14
15
--txt-minorcolor-dark : oklch (70% 0.1 157.38 );
15
16
--txt-bonuscolor-dark : oklch (70% 0.14 260.66 );
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 > {{ block "head" . }} {{ end }} </ head >
7
5
8
- {{/* {{ block "title" . }} */}}
9
- < title > proxyerium's website</ title >
6
+ < body >
10
7
11
- {{ $styles := resources.Match "/css/*.css"}}
12
- {{ $bundle := $styles | resources.Concat "css/bundle.css" | minify }}
13
- < link rel ="stylesheet " href ="{{ $bundle.RelPermalink }} " />
8
+ < main >
9
+ {{ block "main" . }}
10
+ {{ end }}
11
+ </ main >
14
12
15
- < link rel ="shortcut icon " href ="favicon.ico " type ="image/x-icon ">
16
- </ head >
13
+ < aside >
14
+ {{ block "aside" . }}
15
+ {{ end }}
16
+ </ aside >
17
17
18
- < body >
19
- < div id ="app-container ">
20
- {{ block "main" . }}
21
- {{ end }}
22
18
23
- {{/* {{ block "footer" . }}
24
- {{ end }} */}}
25
- </ div >
26
19
</ body >
27
20
28
21
</ html >
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
{{ define "main" }}
2
- < main id ="app-main ">
3
2
4
- < div id ="home-bio ">
5
- < div >
6
- < h1 > ~$ proxyerium</ h1 >
7
- </ div >
3
+ < div class ="home hero ">
4
+ < h1 > $ proxyerium</ h1 >
5
+ </ div >
8
6
9
- < nav >
10
- {{ range .Page.Params.links }}
11
- < a href ="{{ .url }} "> {{ .name }}</ a >
12
- {{ end }}
13
- </ nav >
14
- </ div >
15
-
16
- < div id ="home-navbar ">
17
- {{ range .Site.Sections.ByWeight }}
18
- < a href ="{{ .RelPermalink }} "> ::{{ .Title }} -> </ a >
7
+ < div class ="home navbar ">
8
+ < nav >
9
+ {{ range .Page.Params.links }}
10
+ < a href ="{{ .url }} "> {{ .name }}</ a >
19
11
{{ end }}
20
- </ div >
21
-
22
- < div id ="home-toolbar ">
23
- < input id ="button-theme " type ="button " value ="theme ">
24
- </ div >
25
- </ main >
12
+ </ nav >
13
+ </ div >
26
14
27
- {{ end }}
15
+ < div class ="home list ">
16
+ {{ range .Site.Sections.ByWeight }}
17
+ < a href ="{{ .RelPermalink }} "> ::{{ .Title }} -> </ a >
18
+ {{ end }}
19
+ </ div >
28
20
29
- {{ define "footer" }}
30
- {{ partial "footer" . }}
31
21
{{ end }}
Original file line number Diff line number Diff line change
1
+ {{ define "head" }}
2
+
3
+ < meta charset ="utf-8 ">
4
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
5
+
6
+ {{/* {{ block "title" . }} */}}
7
+ < title > proxyerium's website</ title >
8
+
9
+ {{ $styles := resources.Match "/css/*.css"}}
10
+ {{ $bundle := $styles | resources.Concat "css/bundle.css" | minify }}
11
+ < link rel ="stylesheet " href ="{{ $bundle.RelPermalink }} " />
12
+
13
+ {{ end }}
You can’t perform that action at this time.
0 commit comments