This repository has been archived on 2023-12-17. You can view files and clone it, but cannot push or open issues or pull requests.
extension/ui/styles/global.scss

134 lines
2.4 KiB
SCSS
Raw Normal View History

2023-07-17 11:25:53 +00:00
@import "mixins";
@import "vars";
@font-face {
2023-07-28 16:48:06 +00:00
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("../fonts/JetBrainsMono-Light.woff2") format('woff2');
}
@font-face {
2023-07-28 16:48:06 +00:00
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("../fonts/JetBrainsMono-Regular.woff2") format('woff2');
}
@font-face {
2023-07-28 16:48:06 +00:00
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("../fonts/JetBrainsMono-Bold.woff2") format('woff2');
}
@font-face {
2023-07-28 16:48:06 +00:00
font-family: 'JetBrains Mono';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("../fonts/JetBrainsMono-Regular.woff2") format('woff2');
}
@font-face {
2023-07-28 16:48:06 +00:00
font-family: 'Jaldi';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("../fonts/Jaldi-Regular.woff2") format('woff2');
}
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
2023-07-28 16:48:06 +00:00
background: #080808;
}
#app {
2023-07-28 16:48:06 +00:00
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: $font-family-jaldi;
@include fluid-font-size(0.625rem);
}
2023-06-23 08:41:54 +00:00
header {
2023-07-28 16:48:06 +00:00
padding: 2.5em;
color: #fff;
background: #080808;
border-bottom: 0.1em solid #363636;
img {
@include fluid-width-height(7.875rem, 2.625rem);
}
2023-06-23 08:41:54 +00:00
}
main {
2023-07-28 16:48:06 +00:00
flex-grow: 1;
overflow: hidden;
}
.btn-wrapper {
2023-07-28 16:48:06 +00:00
display: flex;
gap: 2em;
button, > a {
flex: 1;
}
> a {
flex: 1
}
}
2023-07-28 16:48:06 +00:00
.btn-wrapper > .btn-main, .btn-wrapper > a {
text-align: center;
display: inline-block;
padding: 1em;
@include fluid-font-size(1.25rem);
line-height: 1;
color: #fff;
background: #252525;
border: 0.05em solid #252525;
border-radius: 0.25em;
transition: color $transition-duration, background $transition-duration, border-color $transition-duration;
white-space: nowrap;
&:hover {
2023-07-28 16:48:06 +00:00
background: #2e2e2e;
}
2023-07-28 16:48:06 +00:00
&.btn-green {
color: #080808;
background: #62c554;
border-color: #62c554;
2023-07-28 16:48:06 +00:00
&:hover {
background: #6ee65d;
}
}
2023-07-28 16:48:06 +00:00
&.btn-black {
background: #080808;
border-color: #777;
&:hover {
border-color: #a1a1a1;
}
&.gray-text {
color: #777;
2023-07-28 16:48:06 +00:00
&:hover {
color: #a1a1a1;
}
}
}
}