py-learn / src /styles.css
Oviya
update images
9da28a9
raw
history blame
2.66 kB
/* =========================================================
Global Stylesheet (styles.css)
- Aligned formatting and added section comments
- No functional changes to selectors or declarations
========================================================= */
@import '@angular/material/prebuilt-themes/indigo-pink.css';
/* -------------------- Custom Fonts -------------------- */
@font-face {
font-family: 'Super Cartoon';
src: url('assets/font/Super Cartoon.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@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;
}
/* -------------------- Typography -------------------- */
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
h1 {
font-size: 3vw;
color: white;
font-family: 'Super Cartoon';
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 0.6em;
line-height: 1.2;
}
p {
line-height: 1.6;
margin: 0 0 1em;
}
li {
line-height: 1.6;
}
/* -------------------- Document / Body -------------------- */
body,
html {
margin: 0;
padding: 0;
height: 100%;
display: flex;
flex-direction: column;
font-family: Raleway, Roboto, "Helvetica Neue", sans-serif;
background-color: rgb(35 34 32 / 43%);
}
html,
body {
overflow-x: hidden;
}
.imgbgcontainter {
background-image: url(/assets/images/grammar-bg.png);
background-size: auto;
background-position: center;
background-attachment: fixed;
width: 100%;
height: 100%;
}
.grammar-bg {
position: absolute;
top: 10%;
left: 0;
width: 100%;
height: auto;
max-height: calc(100vh - 100px);
object-fit: fill;
z-index: -1;
opacity: 0.2;
}
.logo {
display: flex;
align-items: center;
gap: 1vw;
}
.brand-link {
display: flex;
align-items: center;
gap: 0.6vw;
text-decoration: none;
}
.product-name {
color: #fff;
font-size: 2vw;
letter-spacing: 0.5px;
font-family: Amonk_Outline;
line-height: 1;
}
.brand-link:hover .product-name {
opacity: 0.9;
}
.mat-mdc-dialog-surface.mdc-dialog__surface {
border-radius: 1vw !important;
}
.cdk-global-scrollblock {
overflow: hidden;
}