diff options
Diffstat (limited to 'assets/input.css')
-rw-r--r-- | assets/input.css | 182 |
1 files changed, 182 insertions, 0 deletions
diff --git a/assets/input.css b/assets/input.css new file mode 100644 index 0000000..4b288be --- /dev/null +++ b/assets/input.css @@ -0,0 +1,182 @@ +@import "tailwindcss"; +/* @config "./tailwind.config.js"; */ + +/* Since we use dynamic classNames on Theme.re, we need to inline the colors here. This can cause tailwind to not generate some classes if there's a missing variant here or we add new colors. */ +/* @source inline("{hover:,}{text,bg,border}-[#FFC53D]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#080808]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#0F0F0F]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#151515]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#191919]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#1E1E1E]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#252525]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#2A2A2A]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#313131]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#3A3A3A]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#484848]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#6E6E6E]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#B4B4B4]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#EEEEEE]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#F5F5F5]"); */ +/* @source inline("{hover:,}{text,bg,border}-[#FFFFFF]"); */ +/* @source inline("{hover:,focus:,active:,disabled:,}{text,bg,border}-primary"); */ + + + +:root { + --red05: rgba(255, 65, 54, 0.05); + --red100: rgba(255, 65, 54, 1); + --blue05: rgba(33, 157, 255, 0.05); + --blue30: rgba(33, 157, 255, 0.3); + --blue100: rgba(33, 157, 255, 1); + --black05: rgba(0, 0, 0, 0.05); + --black20: rgba(0, 0, 0, 0.2); + --black60: rgba(0, 0, 0, 0.6); + --white: rgba(255, 255, 255, 1); + + --text: rgba(0, 0, 0, 1); + --heihong: rgb(141, 15, 15); + --hong: rgb(183, 14, 14); + --huang: rgb(230, 180, 60); + --lan: rgb(30, 60, 80); +} + +[data-theme=dark] { + --background-color: black; + --text-color: rgb(200, 200, 200); +} + +[data-theme=light] { + /* --background-color: #EFF1EC; */ + --background-color: white; + --text-color: black; +} + +@font-face { + font-family: Crimson Text; + src: url(https://s3.spandrell.ch/assets/fonts/CrimsonText-Regular.ttf) format('truetype'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: Crimson Text; + src: url(https://s3.spandrell.ch/assets/fonts/CrimsonText-Italic.ttf) format('truetype'); + font-weight: 400; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: Crimson Text; + src: url(https://s3.spandrell.ch/assets/fonts/CrimsonText-SemiBold.ttf) format('truetype'); + font-weight: 600; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: Crimson Text; + src: url(https://s3.spandrell.ch/assets/fonts/CrimsonText-SemiBoldItalic.ttf) format('truetype'); + font-weight: 600; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: Crimson Text; + src: url(https://s3.spandrell.ch/assets/fonts/CrimsonText-Bold.ttf) format('truetype'); + font-weight: 700; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: Crimson Text; + src: url(https://s3.spandrell.ch/assets/fonts/CrimsonText-BoldItalic.ttf) format('truetype'); + font-weight: 700; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Inter"; + src: url(https://s3.spandrell.ch/assets/fonts/InterVariableFont.otf) format('truetype-variations'); + font-weight: 100 900; + font-style: normal; + font-display: swap; +} + +html { + height: 100%; + color: var(--text-color); + -webkit-font-smoothing: antialiased; +} + +body { + margin: 0; + width: 100%; + height: 100%; + font-size: 16px; + font-weight: 400; + line-height: 1.5; + font-size: 1rem; + line-height: 1.618; + text-align: left; + color: black !important; + text-rendering: optimizeLegibility !important; + -webkit-font-smoothing: antialiased; + word-break: break-word; +} + +h1, +h2, +h3, +h4, +h5, +h6, +p { + font-family: Crimson Text; +} + + +a, +button, +input { + transition: all .4s ease; +} + + +input[type="submit"], +button, +.button { + border-color: #181818; + background-color: #181818; + padding: 0.5rem 1.25rem; + color: #fff; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; + display: inline-block; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + font-family: 'Montserrat', sans-serif; + text-transform: uppercase; + letter-spacing: 1px; + font-size: 13px; + -webkit-transition: all .4s ease; + -o-transition: all .4s ease; + transition: all .4s ease; +} |