Header and BannerLogin done

This commit is contained in:
2021-09-18 02:44:22 -03:00
parent f284189ae6
commit 163f7cc905
18 changed files with 550 additions and 80 deletions

View File

@@ -0,0 +1,88 @@
html, body {
margin: 0;
padding: 0;
}
body {
height: 100%;
}
.header-main-page {
background-color: #62D2A2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 17vh;
}
.header-main-page h1 {
color: #ffffff;
font-size: 7vh;
font-family: "Raleway", sans-serif;
margin: 0;
padding: 0;
user-select: none;
}
.header-main-page h3 {
color: rgba(255, 255, 255, 0.75);
font-size: 2vh;
font-family: "Raleway", sans-serif;
margin: 0;
padding: 0;
user-select: none;
}
.header-main-page h3 .selectable {
user-select: all;
}
.header-main-page h3 .selectable a,
.header-main-page h3 .selectable a:link,
.header-main-page h3 .selectable a:visited,
.header-main-page h3 .selectable a:hover,
.header-main-page h3 .selectable a:active {
color: inherit;
text-decoration: inherit;
font-weight: inherit;
}
.header-main-page h3 .selectable a::selection {
background-color: #ffe83d;
color: #000000;
}
.banner-login {
background-color: #D17262;
color: white;
font-family: "Rambla", sans-serif;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0px 5vw;
height: 7vh;
}
.banner-login p {
margin: 0;
padding: 0;
}
.banner-login .button-container {
width: 20vw;
display: flex;
justify-content: space-around;
}
.banner-login .button-container button {
background: none;
border: none;
width: 8vw;
font-size: 2.6vh;
font-weight: bold;
color: #ffffff;
height: 6vh;
}
.banner-login .button-container .register {
border: solid 1px #ffffff;
border-radius: 24px;
}
.banner-login .button-container .login {
background-color: #00000057;
border-radius: 24px;
}
/*# sourceMappingURL=styles.css.map */

View File

@@ -0,0 +1 @@
{"version":3,"sourceRoot":"","sources":["../sass_styles/styles.scss","../sass_styles/_header.scss","../sass_styles/_banner-login.scss"],"names":[],"mappings":"AAAA;EACI;EACA;;;AAGJ;EACI;;;ACLJ;EACI,kBDgCS;EC9BT;EACA;EACA;EACA;EAEA;;AAEA;EACI;EAEA;EDJJ;EAQA;EACA;EACA;;ACDA;EACI;EAEA;EDZJ;EAQA;EACA;EACA;;ACMI;EACI;;AAGA;AAAA;AAAA;AAAA;AAAA;EAKI;EACA;EACA;;AAKA;EACI;EACA;;;AC5CpB;EACI;EACA;EFYA;EERA;EACA;EACA;EAEA;EAEA;;AAGA;EFSA;EACA;;AENA;EAEI;EAEA;EACA;;AAEA;EFGJ;EACA;EACA;EEFQ;EACA;EACA;EAEA;;AAIJ;EACI;EACA;;AAGJ;EACI;EACA","file":"styles.css"}

0
public/img/favicon.ico Normal file
View File

View File

@@ -1,8 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- CSS -->
<link rel="stylesheet" href="./css_styles/styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Rambla:wght@400;700&display=swap" rel="stylesheet">
<!-- CSS -->
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="./img/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta

View File

@@ -0,0 +1,50 @@
.banner-login {
background-color: #D17262;
color: white;
@include bodyFont();
display: flex;
align-items: center;
justify-content: space-between;
padding: 0px 5vw;
height: 7vh;
p {
@include normalizeBody();
}
.button-container {
width: 20vw;
display: flex;
justify-content: space-around;
button {
@include normalizeButton();
font-size: 2.6vh;
font-weight: bold;
color: #ffffff;
height: 6vh;
}
.register {
border: solid 1px #ffffff;
border-radius: 24px;
}
.login {
background-color: #00000057;
border-radius: 24px;
}
}
}

View File

@@ -0,0 +1,50 @@
.header-main-page {
background-color: $main-color;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 17vh;
h1 {
color: #ffffff;
font-size: 7vh;
@include titleFont();
@include normalizeTitle();
}
h3 {
color: rgba(255, 255, 255, 0.75);
font-size: 2vh;
@include titleFont();
@include normalizeTitle();
.selectable {
user-select: all;
a,
a:link,
a:visited,
a:hover,
a:active {
color: inherit;
text-decoration: inherit;
font-weight: inherit;
}
a {
&::selection {
background-color:#ffe83d;
color: #000000
}
}
}
}
}

View File

@@ -0,0 +1,41 @@
html, body {
margin: 0;
padding: 0;
}
body {
height: 100%;
}
@mixin titleFont {
font-family: 'Raleway', sans-serif;
}
@mixin bodyFont {
font-family: 'Rambla', sans-serif;
}
@mixin normalizeTitle {
margin: 0;
padding: 0;
user-select: none;
}
@mixin normalizeBody {
margin: 0;
padding: 0;
}
@mixin normalizeButton {
background: none;
border: none;
width: 8vw;
}
$main-color: #62D2A2;
$second-color: #1FAB89;
$light-color: #9DF3C4;
$lightest-color: #D7FBE8;
@import 'header';
@import 'banner-login';