Files
classroomio/apps/website/src/app.css
T

159 lines
2.4 KiB
CSS
Raw Normal View History

2025-12-20 12:44:59 +01:00
@import 'tailwindcss';
@import '@cio/ui/output.css';
@custom-variant dark (&:where(.dark, .dark *));
2023-11-25 21:56:02 +00:00
body {
overflow-x: hidden;
2025-12-20 12:44:59 +01:00
font-family: 'Geist', sans-serif;
2023-11-25 21:56:02 +00:00
}
.floating {
-webkit-animation: floating 2.5s linear infinite;
animation: floating 2.5s linear infinite;
}
@-webkit-keyframes floating {
0%,
100% {
-webkit-transform: translateY(0rem);
transform: translateY(0rem);
}
2025-12-20 12:44:59 +01:00
2023-11-25 21:56:02 +00:00
50% {
-webkit-transform: translateY(1rem);
transform: translateY(1rem);
}
}
@keyframes floating {
0%,
100% {
-webkit-transform: translateY(0rem);
transform: translateY(0rem);
}
2025-12-20 12:44:59 +01:00
2023-11-25 21:56:02 +00:00
50% {
-webkit-transform: translateY(1rem);
transform: translateY(1rem);
}
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose {
2025-12-20 12:44:59 +01:00
font-family: 'Geist', sans-serif;
2024-02-02 08:18:26 +01:00
}
.prose :is(h1, h2, h3, h4, h5, h6) {
font-weight: 700;
2024-10-08 22:17:05 +01:00
margin-top: 20px;
2024-02-02 08:18:26 +01:00
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose :is(h1) {
font-size: 2em;
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose :is(h2) {
font-size: 1.5em;
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose :is(h3) {
font-size: 1.17em;
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose :is(h4) {
font-size: 1em;
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose :is(h5) {
font-size: 0.83em;
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose :is(h6) {
font-size: 0.67em;
}
.prose :is(p, li) {
2024-10-08 22:17:05 +01:00
margin-top: 0.7em;
margin-bottom: 0em;
2024-02-02 08:18:26 +01:00
color: #374151;
}
.prose :is(ul, ol) {
list-style-type: disc;
padding-left: 3rem;
}
.prose pre {
max-inline-size: 100%;
padding: 1rem;
border-radius: 8px;
tab-size: 2;
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose blockquote {
border-left: 4px solid gray;
font-style: italic;
font-weight: 500;
padding-left: 16px;
margin: 20px 0;
}
2025-12-20 12:44:59 +01:00
2024-02-02 08:18:26 +01:00
.prose figure + em {
display: block;
font-size: 14px;
margin-bottom: 40px;
border: none;
padding: none;
text-align: center;
}
.hero-bg {
2024-11-22 05:21:46 +01:00
background-image: url('https://assets.cdn.clsrio.com/www/hero-bg.svg');
}
2024-05-10 08:00:39 +01:00
2024-09-30 01:36:12 +01:00
.tools-hero-bg {
2024-11-22 05:21:46 +01:00
background-image: url('https://assets.cdn.clsrio.com/www/tools-hero-bg.svg');
2024-09-30 01:36:12 +01:00
}
2025-12-20 12:44:59 +01:00
2024-09-30 01:36:12 +01:00
@media (min-width: 760px) {
.tools-hero-bg {
min-height: 350px;
}
}
2025-12-20 12:44:59 +01:00
2024-05-10 08:00:39 +01:00
.cio-bg-blue {
background: rgb(2, 51, 189);
background-size: cover;
background: radial-gradient(circle at 50% 100%, rgba(2, 51, 189, 1) 1%, rgb(4, 2, 56) 100%);
}
2024-10-08 22:17:05 +01:00
.cio-cta-radial-bg {
background: radial-gradient(
circle at 50% 100%,
rgba(2, 51, 189, 0.92) 0%,
rgba(4, 15, 45, 0.98) 58%,
rgb(3, 7, 18) 100%
);
}
2024-10-08 22:17:05 +01:00
.embed {
width: 100%;
height: 315px;
border-radius: 0.375rem;
}
2025-12-20 12:44:59 +01:00
svg.lucide-icon:not(.custom) {
color: inherit;
2025-12-20 12:44:59 +01:00
}
2024-10-08 22:17:05 +01:00
@media (min-width: 640px) {
.embed {
width: 560px;
}
}
2025-12-20 12:44:59 +01:00
body {
--primary: var(--color-blue-700);
}