From a0764b6c23d57602fd3afb595c80010722d561e2 Mon Sep 17 00:00:00 2001 From: UltimatChamp <140878474+UltimatChamp@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:06:29 +0530 Subject: [PATCH] Update style.css --- themes/mainroad/assets/css/style.css | 68 ++++++++++++++-------------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/themes/mainroad/assets/css/style.css b/themes/mainroad/assets/css/style.css index 903f8da..fd19bad 100644 --- a/themes/mainroad/assets/css/style.css +++ b/themes/mainroad/assets/css/style.css @@ -1225,56 +1225,54 @@ textarea { /* Files */ .fileinfo { - min-width: 80%; - max-width: 100%; - color: black; - padding: 0; - position: relative; - text-decoration: none; - transition: background 0.2s ease-in-out; - text-align: center; - font-size: 1.5rem; - box-shadow: 0 1px 2px grey; - border-radius: 3px; - margin: 0 1rem 1rem; - line-height: 1.4; - font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, - Oxygen, Ubuntu, Cantarell, "Open Sans"; - float: left; + color: black; + padding: 0; + position: relative; + text-decoration: none; + transition: background 0.2s ease-in-out; + text-align: center; + font-size: 1.5rem; + box-shadow: 0 1px 2px grey; + border-radius: 3px; + margin: 0 1rem 1rem; + line-height: 1.4; + float: left; } .fileinfo__header { - position: relative; - background-color: #d88e4a; - border-radius: 3px 3px 0 0; - padding: 10px; - line-height: 1.2rem; + position: relative; + background-color: #d88e4a; + border-radius: 3px 3px 0 0; + padding: 10px; + line-height: 1.2rem; } .fileinfo__body { - background-color: #bdc5c5; - position: relative; - border-radius: 0 0 3px 3px; - border-top: 1px solid #d5dedd; - margin: 0; - display: grid; - grid-gap: 1px; - grid-auto-flow: column; - grid-template-rows: 1fr 1fr; - grid-auto-columns: 1fr; + background-color: #bdc5c5; + position: relative; + border-radius: 0 0 3px 3px; + border-top: 1px solid #d5dedd; + margin: 0; + display: grid; + grid-gap: 1px; + grid-auto-flow: column; + grid-template-rows: 1fr 1fr; + grid-auto-columns: 1fr; } .link-boosted { - grid-column-end: span 2; - grid-row-end: span 2; + grid-column-end: span 2; + grid-row-end: span 2; } .link-boosted:hover { - background-color: #a9aeb1; + background-color: #a9aeb1; + color: #97533f; } .link:hover { - background-color: #a9aeb1; + background-color: #a9aeb1; + color: #97533f; } /* News */