Browse Source

tweak: styles

master
Inhji Y. 10 months ago
parent
commit
7acdad1f3e
  1. 18
      apps/tomie_web/assets/css/home.css
  2. 3
      apps/tomie_web/assets/css/home/header.css
  3. 19
      apps/tomie_web/assets/css/home/homepage.css

18
apps/tomie_web/assets/css/home.css

@ -41,19 +41,25 @@ h1, h2, h3 {
font-family: var(--heading-family);
}
main#wrapper {
h1 {
margin-top: 3rem;
margin-bottom: 2rem;
font-size: 1.8rem;
}
main {
padding: 0 2rem;
line-height: 1.3em;
max-width: 50rem;
margin: 0 auto;
}
main#wrapper a {
main a {
color: #333;
text-decoration: none;
text-decoration: none;
}
main#wrapper a:hover {
main a:hover {
color: white;
background: #333;
}
@ -62,4 +68,8 @@ article h1 {
font-size: 1.8em;
font-weight: 800;
margin: 2rem 0 2rem;
}
article .markdown a {
border-bottom: 1px solid var(--primary-color);
}

3
apps/tomie_web/assets/css/home/header.css

@ -2,7 +2,10 @@ header.site-header {
margin: 3rem 0;
padding-bottom: 1.5rem;
border-bottom: 1px solid var(--divider-color);
}
header.site-header a {
border: none;
}
header.site-header h1 {

19
apps/tomie_web/assets/css/home/homepage.css

@ -1,3 +1,7 @@
.home-wrapper a {
border: none;
}
.home-wrapper section.articles {
border-bottom: 1px solid var(--divider-color);
padding: 0 1rem 0.75rem 1rem;
@ -41,22 +45,21 @@
font-weight: 500;
}
.home-wrapper .feed h3::after {
color: var(--primary-color);
content: ' !';
font-weight: bold;
.home-wrapper dl > dt {
color: #444;
}
.home-wrapper dl > dd {
margin-bottom: 1rem;
}
.home-wrapper dl > dt {
color: #444;
margin-top: 0.25rem;
}
.home-wrapper .feed.bookmarks dl dt,
.home-wrapper .feed.projects dl dt,
.home-wrapper .feed.listens dl dt{
font-weight: 700;
}
.home-wrapper .feed.notes a {
border-bottom: 1px solid var(--primary-color);
}
Loading…
Cancel
Save