minor changes

main
Gabriel 1 year ago
parent fcf9e1247f
commit 1ede79d41c

@ -8,6 +8,12 @@
{{ if .Content}} {{ if .Content}}
<article>{{.Content}}</article> <article>{{.Content}}</article>
{{end}} {{end}}
<div class="posts">
{{range .Site.RegularPages | first 3}}
{{partial "post" .}}
{{end}}
</div>
</main> </main>
{{partial "footer" .}} {{partial "footer" .}}
</body> </body>

@ -24,6 +24,7 @@ body {
header, header,
footer { footer {
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size:16px; font-size:16px;
min-width: min-content; min-width: min-content;
width:20vw; width:20vw;
@ -34,6 +35,7 @@ footer {
justify-content: flex-start; justify-content: flex-start;
flex-wrap: nowrap; flex-wrap: nowrap;
padding:5px; padding:5px;
text-align: center;
} }
main { main {
@ -106,20 +108,32 @@ a:hover {
color: var(--theme-accent); color: var(--theme-accent);
} }
iframe {
width: 100%;
min-height: 25rem;
height: 25vw;
}
img, img,
video, video,
iframe, iframe,
audio { audio {
max-width: 90vw; width: max-content;
height:max-content;
max-width: 90%;
max-height: 100%; max-height: 100%;
} }
article img,
article video,
article iframe,
article audio{
margin:15px;
}
iframe {
width: 100%;
height: 60vh;
}
.gallery img{
margin:1px;
}
.gif { .gif {
max-height: 50vh; max-height: 50vh;
@ -192,6 +206,7 @@ article {
width: 60rem; width: 60rem;
max-width: 100%; max-width: 100%;
font-size: 20px; font-size: 20px;
font-family:Verdana, Geneva, Tahoma, sans-serif;
} }
article img { article img {
@ -300,4 +315,13 @@ hr{
margin:0; margin:0;
margin-top:1rem; margin-top:1rem;
margin-bottom:1rem; margin-bottom:1rem;
}
blockquote {
border-left: 5px solid var(--theme-accent);
padding-left: 15px;
}
code{
font-family: monospace;
color:var(--theme-accent)
} }
Loading…
Cancel
Save