Created
March 6, 2022 13:43
-
-
Save Aadv1k/593b3b0422430efc3db80c64d06b04dd to your computer and use it in GitHub Desktop.
A simple gruvbox themed css file to 🌸beautify🌸 your html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap'); | |
:root { | |
--main-bg-1: rgb(60,56,54); | |
--main-bg-2: rgb(40,40,40); | |
--main-bg-3: rgb(29,32,33); | |
--main-fg-1: #fbf1c7; | |
--main-fg-2: #ebdbb2; | |
--main-fg-3: #d5c4a1; | |
--red: rgb(248,75,60); | |
--yellow: rgb(184,186,55); | |
--blue: #458588; | |
--purple: #b16286; | |
--btn-padding: .3em; | |
--btn-font-size: 1.1em; | |
--btn-radius: 3px; | |
} | |
*,*::after,*::before { | |
margin: 0; | |
padding: 0; | |
} | |
body { | |
width: 90%; | |
max-width: 1000px; | |
margin: 1.5em auto; | |
background: var(--main-bg-2); | |
color: var(--main-fg-1); | |
font-family: 'Source code pro', monospace; | |
} | |
hr { | |
margin: 1em 0; | |
border: none; | |
width: 100%; | |
height: 2px; | |
background: var(--main-fg-3); | |
opacity: 0.7; | |
} | |
p { | |
line-height: 1.5; | |
padding: .5em 0; | |
color: var(--main-fg-2); | |
} | |
small { | |
color: var(--main-fg-3); | |
opacity: 0.9; | |
} | |
a { | |
color: var(--blue); | |
} | |
button { | |
cursor: pointer; | |
} | |
button { | |
padding: var(--btn-padding); | |
font-size: var(--btn-font-size); | |
border-radius: var(--btn-radius); | |
opacity: 0.8; | |
transition: opacity .2s ease; | |
} | |
button:hover { | |
opacity: 1; | |
} | |
button.danger { | |
background: var(--red); | |
border: none; | |
color: var(--main-fg-2); | |
} | |
button.primary { | |
border: none; | |
background: var(--blue); | |
color: var(--main-bg-2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment