www_ourworld_tf/css/index.css
2022-04-03 13:23:03 +02:00

138 lines
2.3 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", sans-serif;
}
.bg-semi-white {
background-color: rgba(255, 255, 255, 0.75);
}
/* Custom css allowing image styling in markdown */
img[src*="#mx-auto"] {
margin: auto;
}
img[src*="#small"] {
width: 68px;
}
img[src*="#medium"] {
width: 400px;
margin: auto;
}
img[src*="#logo"] {
max-width: min(250px, 100%);
margin: auto;
}
img[src*="#large"] {
width: 1000px;
margin: auto;
}
img[src*="#tft_img"] {
width: 150px;
margin: 8px;
}
.logo_size{
width:200px
}
@layer components {
h1 {
@apply text-3xl lg:text-7xl font-normal;
}
h2 {
@apply text-3xl lg:text-6xl my-4 font-light leading-none;
}
h2 strong {
@apply font-medium;
}
h3 {
@apply text-xl lg:text-4xl my-4 font-extralight leading-none;
}
h3 strong {
@apply font-semibold;
}
h4 {
@apply text-sm lg:text-2xl font-normal;
}
h5 {
@apply text-md my-1 tracking-widest text-zinc-500 font-semibold;
}
h6 {
@apply text-md not-italic font-normal my-1;
}
p {
@apply text-lg;
}
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 {
@apply
inline-block
lg:text-lg
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;
}
a {
border: none;
}
header {
font-family: "Work Sans";
}
.nav_btn {
margin: 0 !important;
padding: 0 !important;
border: none !important;
box-shadow: none !important;
}