Files
docs/content/static/input.css
Michael Housh da27216fc1
All checks were successful
CI / release (push) Successful in 6m5s
feat: Adds link sharing document.
2025-04-08 10:37:53 -04:00

196 lines
2.9 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-3xl text-violet-500 font-extrabold py-4;
}
h4 {
@apply text-2xl text-sky-400 py-4;
}
section h3 {
@apply text-orange-400;
}
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-violet-600;
}
article ol {
@apply list-decimal;
}
table {
@apply w-full;
}
table,
th,
td {
border: 1px solid;
border-collapse: collapse;
}
table {
@apply mb-8;
}
table td {
@apply px-6;
}
.container {
@apply px-10;
}
.container img {
padding-top: 10px;
padding-bottom: 10px;
}
blockquote {
@apply border-2 border-blue-600 bg-blue-300 rounded-lg my-10;
}
blockquote p {
@apply px-6 pt-6 text-blue-600 font-semibold;
}