145 lines
2.4 KiB
CSS
145 lines
2.4 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;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
nav a.active {
|
|
@apply border-b-2 border-orange-400;
|
|
}
|
|
|
|
body {
|
|
@apply bg-slate-900 font-avenir;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
article {
|
|
@apply font-avenir text-lg;
|
|
}
|
|
|
|
.container {
|
|
@apply px-10;
|
|
}
|
|
|
|
* {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|