From 75b97cc875b1a680d8406cc403eedef2d7ff01e3 Mon Sep 17 00:00:00 2001 From: Gianmarco Gargiulo Date: Sat, 4 Nov 2023 23:52:43 +0100 Subject: [PATCH] Changed the styling on the title and the buttons of the ytr.html page, changed the font weight of various headings, improved the post cards for tags, changed the font of the comments section's title and changed the Javascript messages of the video players and the comments section --- static/ytr.html | 29 ++++++++++++------- themes/hugo-casper3/assets/scss/custom.scss | 6 ++++ themes/hugo-casper3/assets/scss/main.scss | 6 ++-- .../hugo-casper3/layouts/_default/single.html | 4 +-- .../layouts/partials/post-card.html | 4 +++ .../layouts/shortcodes/video.html | 4 +-- 6 files changed, 35 insertions(+), 18 deletions(-) diff --git a/static/ytr.html b/static/ytr.html index 8c67739..34177a4 100644 --- a/static/ytr.html +++ b/static/ytr.html @@ -18,8 +18,8 @@ body { display: table-cell; vertical-align: middle; - background-color: #000000; - color: white; + background-color: #1e1e1e; + color: #e5e5e5; font: small-caption; } @@ -29,12 +29,15 @@ h1 { text-align: center; + font-family: "Mustica Pro"; + font-weight: normal; } .button { - border: none; + border: 1px solid; color: white; padding: 10px 32px; + margin-bottom: 5px; text-align: center; text-decoration: none; display: inline-block; @@ -43,10 +46,18 @@ border-radius: 5px; } - #pipedbtn {background-color: darkred} /* Piped */ - #ytbtn {background-color: red} /* YouTube */ - #odybtn {background-color: purple} /* Odysee */ - #ptbtn {background-color: #C2540A} /* PeerTube */ + @media screen and (min-width: 0px) and (max-width: 500px) { + .button{ display: block; } + } + + #pipedbtn {background-color: rgba(139,0,0,.2); border-color: darkred} /* Piped */ + #pipedbtn:hover {background-color: darkred} + #ytbtn {background-color: rgba(255,0,0,.2); border-color: red} /* YouTube */ + #ytbtn:hover {background-color: red} + #odybtn {background-color: rgba(128,0,128,.2); border-color: purple} /* Odysee */ + #odybtn:hover {background-color: purple} + #ptbtn {background-color: rgba(194,84,10,.2); border-color: #C2540A} /* PeerTube */ + #ptbtn:hover {background-color: #C2540A} @font-face { font-family: "Mustica Pro"; @@ -61,10 +72,6 @@ font-weight: normal; font-style: normal } - - h1 { - font-family: "Mustica Pro"; - }