From 77d4a98a666ef6c2c18c10f2f2d62210f9eeb752 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 27 Aug 2023 01:36:12 +0530 Subject: first commit --- static/css/styles.css | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 static/css/styles.css (limited to 'static/css/styles.css') diff --git a/static/css/styles.css b/static/css/styles.css new file mode 100644 index 0000000..9b5a5ab --- /dev/null +++ b/static/css/styles.css @@ -0,0 +1,93 @@ +:root { + --body-bg: #1d1f21; + --body-fg: #c5c8c6; + + --selection-bg: #bf87d0; + --selection-fg: #232627; + + --nav-fg: #edafb8; + --nav-selected-fg: #232627; + --nav-selected-bg: #bf87d0; + + --link-fg: #23d19b; + + --home-bg: #56355D; + --home-fg: #ffffff; + + --listitem-bg1: #232323; + --listitem-bg2: #272727; +} + +* { + font-family: sans-serif; + box-sizing: border-box; +} + +body { + background-color: var(--body-bg); + color: var(--body-fg); + + line-height: 1.5; + + margin: 0; + padding: 0; +} + +::selection { + background: var(--selection-bg); + color: var(--selection-fg); +} + +::-moz-selection { + background: var(--selection-bg); + color: var(--selection-fg); +} + +a { + color: var(--link-fg); +} + +img { + width: 100%; +} + +main:not(#site-home-page) { + max-width: 1000px; + width: 95%; + margin: auto; +} + +#site-header { + width: 100%; + margin-top: 1rem; + display: flex; + justify-content: center; +} + +#global-nav { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 0.5rem; +} + +#global-nav a { + text-decoration: none; + color: var(--nav-fg); + padding: 0 6px; +} + +#global-nav a#nav-link-active { + background-color: var(--nav-selected-bg); + color: var(--nav-selected-fg); +} + +footer { + max-width: 95%; + margin: auto; +} + +footer #copyright { + text-align: center; + line-height: 1.1; +} -- cgit v1.2.3