Shrink the subtitle and main navigation sections too

This commit is contained in:
Tom Willemse 2023-07-24 16:23:54 -07:00
parent 907325c755
commit 4b7eb38ee7
3 changed files with 17 additions and 14 deletions

View file

@ -1,12 +1,12 @@
#+TITLE: ryuslash's website #+TITLE: ryuslash's website
#+SUBTITLE: Vae Victis, dood! #+SUBTITLE: vae victis, dood!
#+OPTIONS: toc:nil num:nil #+OPTIONS: toc:nil num:nil
#+STARTUP: showall #+STARTUP: showall
#+STARTUP: inlineimages #+STARTUP: inlineimages
#+begin_center #+begin_main-navigation
[[https://code.ryuslash.org][my code]] | [[https://blog.ryuslash.org][my blog]] [[https://ryuslash.org][home]] | [[https://code.ryuslash.org][code]] | [[https://blog.ryuslash.org][blog]]
#+end_center #+end_main-navigation
#+begin_introduction #+begin_introduction
#+ATTR_HTML: :id avatar :alt Angry black prinny (looking like Tux), playing on a PSP #+ATTR_HTML: :id avatar :alt Angry black prinny (looking like Tux), playing on a PSP

View file

@ -32,6 +32,7 @@ pre.src {
.introduction { .introduction {
display: grid; display: grid;
grid-template-columns: auto auto; grid-template-columns: auto auto;
margin-top: 1rem;
} }
.listless-list { .listless-list {
@ -64,22 +65,17 @@ pre.src {
} }
.subtitle { .subtitle {
font-size: 0.9rem; font-size: 0.7rem;
margin: 0; margin: 0;
text-align: center; text-align: center;
padding: 10px; padding: 0;
margin: 0;
@media (prefers-color-scheme: dark) { line-height: 1;
background-color: @dark-background-highlight;
}
@media (prefers-color-scheme: light) {
background-color: @light-background-highlight;
}
} }
.title-header { .title-header {
text-align: center; text-align: center;
margin: 0; margin: 0;
font-size: 1rem; font-size: 1rem;
line-height: 1;
} }

View file

@ -66,3 +66,10 @@ pre.src {
.org-src-container { position: relative; } .org-src-container { position: relative; }
.org-svg { width: unset; } .org-svg { width: unset; }
.org-center { text-align: center; } .org-center { text-align: center; }
.main-navigation {
text-align: center;
margin: 0;
line-height: 1;
padding: 0;
}