oxen-website/assets/style.css

184 lines
3.4 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--breakpoint-mobile: 500px;
--breakpoint-tablet: 768px;
--breakpoint-desktop: 992px;
--breakpoint-huge: 1280px;
}
@font-face {
font-family: WorkSans;
src: url(/fonts/WorkSans/WorkSans-VariableFont_wght.ttf) format('truetype');
}
@font-face {
font-family: WorkSans;
font-style: italic;
src: url(/fonts/WorkSans/WorkSans-Italic-VariableFont_wght.ttf)
format('truetype');
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-Thin.ttf) format('truetype');
font-weight: 200;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-ThinItalic.ttf) format('truetype');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-Regular.ttf) format('truetype');
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-MediumItalic.ttf) format('truetype');
font-style: italic;
font-weight: 500;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-Medium.ttf) format('truetype');
font-weight: 500;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-LightItalic.ttf) format('truetype');
font-style: italic;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-Light.ttf) format('truetype');
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-Italic.ttf) format('truetype');
font-style: italic;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-BoldItalic.ttf) format('truetype');
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-Bold.ttf) format('truetype');
font-weight: 700;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-BlackItalic.ttf) format('truetype');
font-weight: 900;
font-style: italic;
}
@font-face {
font-family: Prompt;
src: url(/fonts/Prompt/Prompt-Black.ttf) format('truetype');
font-weight: 900;
}
body {
height: 100vh;
min-width: 350px;
background-color: #dbf7f5;
/* Fix for Safari */
/* https://stackoverflow.com/a/37365794 */
font-weight: 400;
text-rendering: optimizeLegibility;
}
.hide-scroll {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.hide-scroll::-webkit-scrollbar {
display: none;
}
/* Pagination */
.pagination {
display: flex;
justify-content: center;
border-radius: 4px;
}
.pagination li {
display: flex;
align-items: center;
border-radius: 0;
}
.pagination li ~ li {
border-left: 0.5px solid white;
}
.pagination li:first-child {
border-top-left-radius: 0.25rem;
border-bottom-left-radius: 0.25rem;
}
.pagination li:last-child {
border-top-right-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
}
.pagination li:hover {
filter: brightness(0.9);
}
.pagination li:hover:not(.active) {
color: theme('colors.secondary');
}
.pagination li a {
padding: 0.25rem 0.9rem;
cursor: pointer;
width: max-content;
height: auto;
font-weight: 500;
}
ul li > p {
margin-bottom: 0 !important;
}
.accordion-content {
transition: max-height 0.2s;
}
.embed-content blockquote {
@apply pl-4 mt-6 mb-8 ml-6 font-semibold border-l-2 border-opacity-25 border-primary;
}
.embed-content blockquote > p {
@apply mb-3 font-sans tracking-wide text-justify;
}
.embed-content blockquote > a {
@apply cursor-pointer text-blue hover:underline;
}
.embed-content iframe {
@apply mb-6;
}