File size: 3,233 Bytes
f30c6d4 e4ab6d0 5658c81 24296c7 f30c6d4 24296c7 e4ab6d0 f30c6d4 e4ab6d0 f30c6d4 e4ab6d0 f30c6d4 24296c7 f30c6d4 e4ab6d0 6f70a09 24296c7 6f70a09 24296c7 f30c6d4 24296c7 6f70a09 24296c7 6f70a09 24296c7 5658c81 24296c7 3f6fff5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
/* =========================================================
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 -------------------- */
:root {
--main-accent-color: #009688;
}
@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;
}
/*background image for all the component */
.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;
}
.mat-mdc-dialog-surface.mdc-dialog__surface {
border-radius: 1vw !important;
}
.cdk-global-scrollblock {
overflow: hidden;
}
/*overall close icon button color change on hover in user guide modal*/
.user-guide-close-icon {
position: absolute;
background: #009688;
border: none;
width: 44px;
height: 44px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2vw;
color: black;
cursor: pointer;
z-index: 2010;
box-shadow: 0 2px 8px rgba(93, 145, 195, 0.18);
transition: background 0.2s, color 0.2s;
}
.user-guide-close-icon:hover {
background: white;
color: black;
border: 3px solid #009688;
}
/*back arrow button*/
.back-btn {
position: absolute;
top: 1vw;
left: 1vw;
transform: translateY(-50%);
cursor: pointer;
padding: 0 1rem;
transition: transform 0.3s;
width: 4.5vw;
}
.back-btn:hover {
transform: translateY(-50%) scale(1.1);
}
|