diff options
| author | Francesco <tomaselli.fr@gmail.com> | 2024-04-30 22:12:00 +0200 | 
|---|---|---|
| committer | Francesco <tomaselli.fr@gmail.com> | 2024-04-30 22:17:59 +0200 | 
| commit | 3b5b22e38dab795fc11e367c30636a3dcd4972fb (patch) | |
| tree | a2ecdf353814c1b88bf85c2b1cc4da3e2e87f6a1 /assets/css | |
| parent | 2adacb681f71234a8bb15d731654a8e449c9dfb4 (diff) | |
Added list summaries configuration, tweaked social icons margin on mobile
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/main.css | 21 | ||||
| -rw-r--r-- | assets/css/vars.css | 6 | 
2 files changed, 18 insertions, 9 deletions
| diff --git a/assets/css/main.css b/assets/css/main.css index 3c6ac9a..9f6cb73 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -151,10 +151,6 @@ footer a {  /* Posts list  */ -.post-list-container { -  margin-bottom: 2rem; -} -  .post-line {    margin-bottom: .5rem;    display: flex; @@ -166,18 +162,27 @@ footer a {    margin-bottom: 0rem;  } -.post-date { +.line-date {    font-size: small;    font-family: "Monaspace"; -  width: 110px; +  min-width: 110px; +  max-width: 110px;    text-align: right;    padding-right: 1rem; +  margin-top: 0rem; +  margin-bottom: 0rem;  } -.post-title { +.line-title {    margin: 0;  } +.line-summary { +  font-size: small; +  margin-top: .2rem !important; +  font-style: italic; +} +  .pagination {    display: flex;    align-items: center; @@ -209,7 +214,7 @@ footer a {  .social-icons {    padding: 12px 0; -  margin-bottom: 3rem; +  margin-bottom: var(--social-icons-bottom-margin)  }  .social-icons a { diff --git a/assets/css/vars.css b/assets/css/vars.css index e3816e8..f68ff44 100644 --- a/assets/css/vars.css +++ b/assets/css/vars.css @@ -29,10 +29,13 @@      --toc-margin-top: 2rem;      --toc-margin-bottom: 3rem; -    /* code */ +    /* Code */      --code-padding: 1.5rem;      --code-border-radius: 10px; +    /* Social section */ +    --social-icons-bottom-margin: 3rem; +      /* Footer */      --footer-height: 3rem; @@ -61,5 +64,6 @@  @media screen and (max-width: 640px) {      :root {          --header-top-gap: 1rem; +        --social-icons-bottom-margin: 0rem;      }  }
\ No newline at end of file | 
