py-learn / src /styles.css
Anupriya
Added Logo text and CSS
6f70a09
raw
history blame
1.89 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
/*@import '~@fortawesome/fontawesome-free/css/all.min.css';*/
@font-face {
font-family: 'Super Cartoon';
src: url('assets/font/Super Cartoon.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
h1 {
font-size: 3vw;
color: white;
font-family: Super Cartoon;
}
@font-face {
font-family: 'Raleway';
src: url('assets/font/Raleway.woff2') format('woff2'), url('assets/font/Raleway.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Amonk_Outline';
src: url('assets/font/Amonk_Outline.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'RetroSigned';
src: url('assets/font/RetroSigned.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
body, html {
margin: 0;
padding: 0;
box-sizing: border-box;
height: 100%;
display: flex;
flex-direction: column;
font-family: Raleway;
background-color: rgb(35 34 32 / 43%);
/*overflow: hidden;*/
}
/*Py-Learn text near Logo css*/
/*Py-learn text*/
/* Keep logo and text in one row */
.logo {
display: flex;
align-items: center;
gap: 1vw;
}
/* Make the anchor wrap both image and name */
.brand-link {
display: flex;
align-items: center;
gap: 0.6vw; /* space between logo and text */
text-decoration: none;
}
/* “PY-Learn” text next to the logo */
.product-name {
color: #fff;
font-size: 2vw; /* slightly smaller than the 3vw title */
/*font-weight: 700;*/
letter-spacing: 0.5px;
/*font-family: 'Super Cartoon', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
font-family: Amonk_Outline;
line-height: 1;
}
.brand-link:hover .product-name {
opacity: 0.9; /* subtle hover */
}