Add header component

This commit is contained in:
2023-10-17 16:33:20 +07:00
parent 99a3bf57f6
commit 5a497273c0
14 changed files with 263 additions and 138 deletions
@@ -0,0 +1,4 @@
:root {
--border-color: #8c8c8c;
--radius-sm: 10px;
}
@@ -0,0 +1,5 @@
button:has(svg) {
line-height: 0;
cursor: pointer;
}
+128
View File
@@ -0,0 +1,128 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
@@ -0,0 +1,39 @@
@font-face {
font-family: 'Poppins';
src: url('../../assets/fonts/Poppins-Regular.woff2') format('woff2'),
url('../../assets/fonts/Poppins-Regular.ttf') format('truetype');
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: url('../../assets/fonts/Poppins-Medium.woff2') format('woff2'),
url('../../assets/fonts/Poppins-Medium.ttf') format('truetype');
font-weight: 500;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: url('../../assets/fonts/Poppins-SemiBold.woff2') format('woff2'),
url('../../assets/fonts/Poppins-SemiBold.ttf') format('truetype');
font-weight: 600;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: url('../../assets/fonts/Poppins-Bold.woff2') format('woff2'),
url('../../assets/fonts/Poppins-Bold.ttf') format('truetype');
font-weight: 700;
font-display: swap;
}
* {
font-family: 'Poppins', Times, serif;
}
+5
View File
@@ -0,0 +1,5 @@
/* Base */
@import url(./abstracts/variables.css);
@import url(./bases/common.css);
@import url(./bases/typography.css);
@import url(./bases/reset.css);