www_duniayetu/css/index.css

395 lines
5.9 KiB
CSS
Raw Normal View History

2022-11-15 11:11:07 +00:00
/*! purgecss start ignore */
@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=Lato:wght@300;400;700;900&family=Montserrat:wght@400;700&display=swap');
/* Custom CSS for header partial */
.backdrop-blur {
-webkit-backdrop-filter: blur(40px);
}
* {
font-family: 'Lato', 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*="#sm"] {
width: 200px;
}
img[src*="#md"] {
width: 300px;
}
img[src*="#medium"] {
width: 500px;
}
img[src*="#logo"] {
max-width: min(250px, 100%);
margin: auto;
}
img[src*="#large"] {
width: min(60vw, 100vh);
margin: auto;
}
img[src*="#fill"] {
width: 100%;
height: 100%;
}
img[src*="#tft_img"] {
width: 150px;
margin: 8px;
}
img[src*="#icon"] {
width: 65px;
margin: 4px;
}
img[src*="#fig"] {
width: 150px;
}
.logo_size {
width: 200px;
}
.advance{
font-family: "lato";
}
@layer components {
h1 {
2023-01-05 10:00:08 +00:00
@apply text-3xl lg:text-5xl xl:text-7xl font-bold leading-4 my-4;
2022-11-15 11:11:07 +00:00
font-family: "lato", sans-serif;
line-height: 0.9;
}
h1 strong {
@apply font-medium;
}
h2 {
2023-07-20 07:47:55 +00:00
@apply text-2xl md:text-4xl lg:text-6xl font-bold leading-4 my-4;
2022-11-15 11:11:07 +00:00
font-family: "lato", sans-serif;
2023-07-20 07:47:55 +00:00
line-height: 0.9;
2023-01-05 10:00:08 +00:00
2022-11-15 11:11:07 +00:00
}
h2 strong {
@apply font-medium;
}
h3 {
2023-01-05 10:00:08 +00:00
@apply text-xl lg:text-3xl font-normal my-4;
2023-07-20 07:47:55 +00:00
color:#1c5d34;
2022-11-15 11:11:07 +00:00
}
h3 strong {
@apply font-medium;
}
h4 {
@apply text-xl lg:text-xl font-normal;
}
h5 {
@apply text-xl lg:text-xl font-normal;
}
h6 {
@apply text-lg not-italic font-normal my-1;
}
p {
2023-07-20 07:47:55 +00:00
@apply text-base lg:text-xl leading-tight tracking-normal font-normal my-0;
2022-11-15 11:11:07 +00:00
font-family: "CercoDEMO", sans-serif;
}
blockquote {
@apply border-l-4 border-gray-400 mx-2 my-2 p-2;
}
li {
@apply text-lg lg:text-xl font-normal my-2;
}
li li {
@apply text-sm lg:text-sm font-light;
}
button {
@apply inline-block
text-base
lg:text-lg
px-8
py-1
mr-5
my-4
border-2
shadow
}
}
2023-07-20 07:47:55 +00:00
a:hover{
color: #1c5d34;
}
2022-11-15 11:11:07 +00:00
button:hover {
2023-07-20 07:47:55 +00:00
color: #1c5d34;
2022-11-15 11:11:07 +00:00
}
button {
font-weight: 500;
}
.experience-btn {
border: none;
margin: 0;
padding: 0;
color: black;
padding: 20px;
width: fit-content;
}
.experience-btn p {
@apply text-lg;
}
.experience-btn:hover {
background: white;
}
.experience-btn h4 {
white-space: normal;
}
header .customize {
background-color: transparent;
position: absolute;
}
footer .customize {
2022-11-15 14:43:55 +00:00
/* width: 100vw; */
2023-07-20 07:47:55 +00:00
color: #fff;
background-color: #1c5d34;
2022-11-15 11:11:07 +00:00
display: flex;
flex-direction: column;
align-items: center;
2023-07-20 07:47:55 +00:00
padding-top: 24px;
padding-bottom: 24px;
2022-11-15 11:11:07 +00:00
}
footer .customize img {
width: 60px;
}
header .customize div {
box-shadow: none;
text-transform: uppercase;
font-weight: 700 !important;
}
button {
background: transparent;
color: black;
2023-07-20 07:47:55 +00:00
border-radius: 4px;
2022-11-15 11:11:07 +00:00
border: 2px solid black;
box-shadow: none;
2023-07-20 07:47:55 +00:00
/* font-size: 18px; */
2022-11-15 11:11:07 +00:00
}
a {
border: none;
}
header {
font-family: "Work Sans";
}
.nav_btn {
margin: 0 !important;
padding: 0 !important;
border: none !important;
box-shadow: none !important;
}
.quicklinks {
box-sizing: border-box;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: auto;
display: inline-block;
margin: 0 auto;
border-radius: 10px;
margin-top: 30px;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-bottom: 20px;
}
.quicklinks img {
height: auto;
max-width: 200px;
display: inline-block;
padding: 10px;
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
position: relative;
margin-right: 30px;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
opacity: 0.5;
}
.quicklinks img:hover {
opacity: 1;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
}
.banner {
width: 100%;
margin: 0;
padding: 120px 0;
text-align: center;
position: relative;
display: block;
color: #fff !important;
letter-spacing: 0.5px;
overflow: hidden;
background: #00838d;
transition: 1.5s;
}
.header {
height: auto;
background: none;
padding: 200px 0;
}
.banner h2,
.header h1 {
margin: auto;
color: #fff;
position: relative;
transition: 0.3s;
z-index: 1;
white-space: nowrap;
}
.header h1 {
color: #000;
transition: none;
}
.banner h2 svg {
font-size: 40px;
margin-left: 15px;
position: absolute;
top: 55%;
transform: translateY(-50%) scale(0.5);
opacity: 0;
transition: 0.3s;
}
.banner .back {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-position: center;
background-size: cover;
filter: grayscale(1) contrast(1.4);
opacity: 0.25;
transition: 1.5s;
}
.header .back {
filter: none;
opacity: 1;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.banner:hover {
background: #4b3a92;
}
.header:hover {
background: none;
}
.banner:hover h2 svg {
transform: translateY(-50%) scale(1);
opacity: 1;
}
.banner:hover h2 {
padding-right: 40px;
}
.header:hover h1 {
padding-right: 0;
}
.banner:hover .back {
transform: scale(1.03);
}
.header:hover .back {
transform: none;
}
@media (max-width: 768px) {
2023-07-20 07:47:55 +00:00
/* h2 {
2022-11-15 11:11:07 +00:00
font-size: 4rem;
2023-07-20 07:47:55 +00:00
} */
2022-11-15 11:11:07 +00:00
}
@media (max-width: 640px) {
.banner h2 {
font: 600 7vw/10vw;
}
.header h1 {
font-size: 35px;
}
.banner h2 svg {
font-size: 30px;
}
}
@media (max-width: 480px) {
.banner,
.header {
padding: 80px 0;
}
2023-07-20 07:47:55 +00:00
/* h2 {
2022-11-15 11:11:07 +00:00
font-size: 3rem;
2023-07-20 07:47:55 +00:00
} */
2022-11-15 11:11:07 +00:00
}