-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
88 additions
and
93 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +1,29 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Lexend+Zetta:[email protected]&display=swap'); | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
body { | ||
font-optical-sizing: auto; | ||
font-style: normal; | ||
} | ||
|
||
.logo { | ||
font-family: 'Lexend Zetta', sans-serif; | ||
font-optical-sizing: auto; | ||
font-weight: 700; | ||
font-style: normal; | ||
font-size: 4rem; | ||
color: rgba(255, 255, 255, .9) | ||
} | ||
|
||
#section-quick { | ||
background: url('/bg.png') no-repeat; | ||
background-size: 140vw 100vh; | ||
background-position: center; | ||
} | ||
|
||
#section-quick-content { | ||
background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px), | ||
linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px); | ||
background-size: 150px 150px; | ||
animation: bg-scrolling 1.5s infinite; | ||
animation-timing-function: linear; | ||
} | ||
|
||
@keyframes bg-scrolling { 100% {background-position: 150px 150px} } | ||
|
||
h4 { | ||
font-size: 1.5rem; | ||
} | ||
|
||
.card-generator { | ||
background: rgba(255, 255, 255, 0.5); | ||
} | ||
|
||
.input { | ||
background: rgba(255, 255, 255, 0.6); | ||
transition: all 0.2s; | ||
} | ||
|
||
.input:active, | ||
.input:focus, | ||
.input:focus-within, | ||
.input:hover { | ||
background: rgba(255, 255, 255, 0.8); | ||
} | ||
|
||
.tf-input-label { | ||
font-variant: small-caps; | ||
font-weight: 500; | ||
color: #B271FF; | ||
width: 110px; | ||
padding-left: 5px; | ||
.text-last-center { | ||
text-align-last: center; | ||
} | ||
|
||
input, | ||
.label-text { | ||
.small-caps { | ||
font-variant: small-caps; | ||
} | ||
|
||
select { | ||
font-family: sans-serif; | ||
color: #B271FF; | ||
text-align-last: center; | ||
} | ||
|
||
.sparkle { | ||
position: absolute; | ||
z-index: 0; | ||
.right-1\/10 { | ||
right: 10%; | ||
} | ||
|
||
#sparkle-0 { | ||
top: 15%; | ||
.left-1\/10 { | ||
left: 10%; | ||
} | ||
|
||
#sparkle-1 { | ||
top: 25%; | ||
right: 10%; | ||
.top-1\/6 { | ||
top: 16.67%; | ||
} | ||
|
||
#sparkle-2 { | ||
bottom: 20%; | ||
left: 40%; | ||
} | ||
|
||
/* TODO: cleanup & move to trollfactory.css */ | ||
|
||
#generate-btn { | ||
background: rgba(255, 255, 255, 0.7); | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,44 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Lexend+Zetta:[email protected]&display=swap'); | ||
|
||
:root { | ||
--color-lavender-amethyst: #B271FF; | ||
} | ||
|
||
|
||
/* TrollFactory theme colors */ | ||
|
||
.text-tf-0 { | ||
color: var(--color-lavender-amethyst); | ||
} | ||
|
||
.bg-wt-50 { | ||
background: rgba(255, 255, 255, 0.5); | ||
} | ||
|
||
|
||
/* TrollFactory logo */ | ||
|
||
.tf-logo { | ||
color: rgba(255, 255, 255, .9); | ||
font-family: 'Lexend Zetta', sans-serif; | ||
font-optical-sizing: auto; | ||
} | ||
|
||
|
||
/* data input */ | ||
|
||
.tf-input { | ||
background: rgba(255, 255, 255, 0.6); | ||
transition: all 0.2s; | ||
} | ||
|
||
.tf-input:active, | ||
.tf-input:focus, | ||
.tf-input:focus-within, | ||
.tf-input:hover { | ||
background: rgba(255, 255, 255, 0.8); | ||
} | ||
|
||
.tf-input-top { | ||
border-bottom-left-radius: 0px; | ||
border-bottom-right-radius: 0px; | ||
|
@@ -14,4 +55,25 @@ | |
border-bottom-right-radius: 11px; | ||
border-top-left-radius: 0px; | ||
border-top-right-radius: 0px; | ||
} | ||
|
||
|
||
/* backgrounds */ | ||
|
||
.tf-bg-blur { | ||
background: url('/bg.png') no-repeat; | ||
background-size: 140vw 100vh; | ||
background-position: center; | ||
} | ||
|
||
.tf-bg-grid { | ||
animation: bg-grid-scroll 1.5s infinite; | ||
animation-timing-function: linear; | ||
background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px), | ||
linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px); | ||
background-size: 150px 150px; | ||
} | ||
|
||
@keyframes bg-grid-scroll { | ||
100% { background-position: 150px 150px } | ||
} |