www_freeflownation/css/index.css
2022-03-22 19:04:04 +03:00

107 lines
1.9 KiB
CSS

/*! purgecss start ignore */
@import "nav.css";
@import "code.css";
/*! purgecss end ignore */
@import "tailwindcss/base";
@import "layout.css";
@import "tailwindcss/components";
@import "admonition.css";
@import "tailwindcss/utilities";
@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* Custom CSS for header partial */
.backdrop-blur {
-webkit-backdrop-filter: blur(40px);
}
* {
font-family: "Work Sans";
}
.bg-semi-white {
background-color: rgba(255, 255, 255, 0.75);
}
/* Custom css allowing image styling in markdown */
img[src*="#small"] {
width: 68px;
}
img[src*="#medium"] {
width: 250px;
margin: auto;
}
img[src*="#logo"] {
max-width: min(250px, 100%);
margin: auto;
}
img[src*="#large"] {
width: 400px;
margin: auto;
}
@layer components {
h1 {
@apply text-3xl lg:text-5xl font-light;
}
h2 {
@apply text-2xl lg:text-4xl my-2 font-light;
}
h3 {
@apply text-xl lg:text-2xl font-normal;
}
h4 {
@apply text-md my-1 tracking-widest text-zinc-500 font-semibold;
}
h5 {
@apply text-md not-italic font-normal my-1;
}
h6 {
@apply text-sm lg:text-base font-normal;
}
p {
@apply text-xs;
}
blockquote {
@apply border-l-4 border-gray-400 mx-2 my-2 p-2;
}
li {
@apply text-base lg:text-base font-normal;
}
li li {
@apply text-sm lg:text-sm font-light;
}
button a {
@apply inline-block lg:text-lg hover:bg-gray-400 px-12 py-1 mr-5 my-10 border-2 shadow border-black capitalize;
}
}
button:hover :is(:where(a)) {
color: #3b82f6;
}
button :is(:where(p)) {
color: #3d3b39;
font-weight: 400;
}
button a {
color: black;
}
p {
font-size: 15px;
}
a {
border: none;
}
header {
font-family: "Work Sans";
}