Files
docs/content/static/input.css
Michael Housh 5ea3e3bd86
Some checks failed
CI / release (push) Failing after 3m0s
feat: Adds ci workflow.
2025-04-03 11:57:22 -04:00

158 lines
2.5 KiB
CSS

@import url("https://fonts.cdnfonts.com/css/avenir");
@import "tailwindcss";
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
@theme {
--font-avenir: "Avenir", sans-serif;
}
:root {
--accent: #a6e3a1;
--background: rgb(34, 33, 41);
--color: #fff;
--border-color: hsla(0, 0%, 100%, 0.1);
--phoneWidth: (max-width: 684px);
--tabletWidth: (max-width: 900px) --orange: #f5a87f;
--green: #a6e3a1;
}
/* Reset */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
/* HEADER */
.header {
display: flex;
flex-direction: column;
position: relative;
}
.header__inner {
display: flex;
align-items: center;
justify-center: space-between;
}
.header__logo {
display: flex;
flex: 1;
}
.header__logo:after {
content: "";
background: repeating-linear-gradient(
90deg,
#ffa86a,
#ffa86a 2px,
transparent 0,
transparent 10px
);
background: repeating-linear-gradient(
90deg,
var(--accent),
var(--accent) 2px,
transparent 0,
transparent 10px
);
display: block;
width: 100%;
right: 10px;
}
.header__logo a {
flex: 0 0 auto;
max-width: 100%;
text-decoration: none;
}
.logo {
display: flex;
align-items: center;
text-decoration: none;
background: #ffa86a;
background: var(--accent);
color: #000;
padding: 5px 10px;
}
.header .menu {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 10px;
}
/* Nav */
nav a:hover {
@apply border-b-2 border-orange-400;
}
nav a.active {
@apply border-b-2 border-orange-400;
}
/* Body */
body {
@apply bg-slate-900 font-avenir text-xl;
}
h1 {
@apply text-6xl pb-2;
}
h2 {
@apply text-5xl mb-8 pt-4;
color: var(--green);
}
h3 {
@apply text-2xl text-amber-500 py-4;
}
p {
@apply mb-8;
}
article h2 {
@apply border-b-2 border-slate-200;
}
article a {
@apply text-orange-400;
}
article a:hover {
@apply border-b border-green-400;
}
article code {
@apply bg-amber-700;
}
.container {
@apply px-10;
}
.container img {
padding-top: 10px;
padding-bottom: 10px;
}