Files
docs/content/static/input.css

137 lines
2.2 KiB
CSS

@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);
}
}
: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;
}
/* 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 a:hover {
@apply border-b-2 border-orange-400;
}
body {
@apply bg-slate-900;
}
h1 {
@apply text-4xl;
}
h2 {
@apply text-3xl mb-4 pt-4;
color: var(--green);
}
h3 {
@apply text-2xl text-amber-500 py-4;
}
p {
@apply mb-8;
}
img {
padding-top: 10px;
padding-bottom: 10px;
}
article h2 {
@apply border-b-2 border-slate-200;
}
.container {
@apply px-10;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
nav a:active {
@apply border-yellow-300 text-white;
}