update css & rules ; footer + favicon work
All checks were successful
/ test (push) Successful in 5s

This commit is contained in:
violette 2024-05-14 01:19:54 -04:00
parent 6286a22943
commit c319ac0e4e
5 changed files with 36 additions and 23 deletions

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -39,15 +39,19 @@
}
.color-scheme-wrapper {
min-height:100vh;
background:var(--bg);
min-height: 100vh;
background-color: var(--bg);
transition: 1s all;
color:var(--text);
}
.margin {
min-height: 100vh;
padding-left: 20px;
padding-right: 20px;
display: flex;
flex-direction: column;
}
#color-mode {
@ -58,6 +62,9 @@ body {
font-family: sans-serif;
line-height: 1.5;
margin: 0;
display: flex;
flex-direction: column;
}
header {
@ -95,34 +102,36 @@ h3 {
footer {
border-top: 1px solid #222;
margin-top: 0;
margin-top: auto;
margin-bottom: 5pt;
padding-top: 0;
width: 100%;
display: flex;
position: sticky;
min-height: 42pt;
}
.footer {
color: var(--text);
align-items: center;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
gap: 10px;
}
.nav {
display: flex;
list-style-type: none;
margin: 5pt;
display: flex;
align-items: center;
}
.nav-right {
display: flex;
align-items:flex-end;
justify-content: flex-end;
list-style-type: none;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
}
li {
@ -132,6 +141,7 @@ li {
ul {
padding-right: 5pt;
padding-left: 5pt;
margin-left: 5pt;
}
@ -151,3 +161,13 @@ a, label {
width: 100%;
display: block;
}
/* resize image that are in main, and center them */
main img {
max-width: 512pt;;
margin-left:auto;
margin-right:auto;
display:flex;
float:none;
}

View file

@ -1 +0,0 @@
console.log('This site was generated by Hugo.');

View file

@ -7,7 +7,7 @@
{{ end }}
</head>
<body>
<body class="preload">
<input id="color-mode" class="theme-box" type="checkbox">
<div class="color-scheme-wrapper">
<div class="margin">

View file

@ -1,9 +1,3 @@
{{- with resources.Get "css/main.css" }}
{{- if eq hugo.Environment "development" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
{{- end }}
{{- end }}
{{ with resources.Get "css/main.css" }}
<style> {{ .Content | safeCSS }} </style>
{{ end }}