-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62a5136
commit 86e2714
Showing
7 changed files
with
771 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,333 @@ | ||
:root{ | ||
|
||
/*Colores ....*/ | ||
--primary-solid: #FF3333; | ||
--primary-900: rgba(255, 51, 51, 0.9); | ||
--primary-500: rgba(255, 51, 51, 0.5); | ||
--primary-300: rgba(255, 51, 51, 0.3); | ||
|
||
--secondary-solid: #1D84B5; | ||
--secondary-900: rgb(29, 132, 181, 0.9); | ||
--secondary-500: rgb(29, 132, 181, 0.5); | ||
--secondary-300: rgb(29, 132, 181, 0.3); | ||
|
||
--dark-solid: #1f1f1f ; | ||
--dark-900: rgb(31, 31, 31, 0.9); | ||
--dark-500: rgb(31, 31, 31, 0.5); | ||
--dark-300: rgb(31, 31, 31, 0.3); | ||
|
||
--dark-bg-solid: #30343F; | ||
--ligth-bg-solid:#FAFAFF; | ||
--ligth-font-solid: #FFFF; | ||
|
||
|
||
|
||
/*LETRAS......*/ | ||
--base-font: 'Inter', sans-serif; | ||
--alternative-font: 'Raleway', sans-serif; | ||
|
||
/*FONT-SIZES-------*/ | ||
--font-display: 4.6em; | ||
--font-jumbo: 3.8em; | ||
--font-xlarge: 3em; | ||
--font-large: 2.4em; | ||
--font-medium: 1.8em; | ||
--font-small: 1.6em; | ||
--font-xsmall: 1.4em; | ||
|
||
/*SPACINGS-----*/ | ||
--spacing-128: 12.8rem; | ||
--spacing-68: 6.8rem; | ||
--spacing-36: 3.6rem; | ||
--spacing-28: 2.8rem; | ||
--spacing-24: 2.4rem; | ||
--spacing-20: 2rem; | ||
--spacing-16: 1.6rem; | ||
--spacing-12: 1.2rem; | ||
--spacing-8: 0.8rem; | ||
} | ||
|
||
|
||
/*NORMALIZACIÓN DE ESTILOS--------*/ | ||
|
||
*, | ||
*::before, | ||
*::after{ | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
html{ | ||
font-family: var(--base-font); | ||
font-size: 62.5%; /*para normalizar el tamaño son 16px = em, rem */ | ||
color: var(--dark-solid); | ||
} | ||
|
||
a{ | ||
text-decoration: none; | ||
font-family: inherit; | ||
color: inherit; | ||
} | ||
|
||
header, | ||
footer{ | ||
font-family: var(--alternative-font); | ||
color: var(--ligth-font-solid); | ||
} | ||
|
||
ul, ol{ | ||
list-style-type: none; | ||
} | ||
|
||
p{ | ||
font-size: 1.8em; | ||
} | ||
|
||
img{ | ||
width: 100%; | ||
} | ||
|
||
.container, .navbar{ | ||
max-width: 1200px; | ||
margin:0 auto; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
/*HEADER --------*/ | ||
|
||
header{ | ||
background-color: var(--dark-bg-solid); | ||
padding: var(--spacing-36); | ||
} | ||
|
||
|
||
.navbar{ | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.navbar__logo{ | ||
max-width: 300px; | ||
} | ||
|
||
.navbar__menu{ | ||
display: flex; | ||
align-items: center; | ||
gap: var(--spacing-20); | ||
} | ||
|
||
.navbar__link{ | ||
font-size: var(--font-medium); | ||
padding: var(--spacing-8) var(--spacing-16); | ||
display: inline-block; | ||
transition: background .3s ease-in-out; | ||
position: relative; | ||
} | ||
|
||
.navbar__link:hover{ | ||
background-color: var(--primary-900); | ||
} | ||
|
||
.with-icon{ | ||
display: flex; | ||
align-items: center; | ||
gap: var(--spacing-8); | ||
} | ||
|
||
|
||
/*FIN DEL HEADER */ | ||
|
||
.crear{ | ||
margin: var(--spacing-68) auto; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: stretch; | ||
gap: var(--spacing-36); | ||
} | ||
|
||
.crear-title{ | ||
font-family: var(--base-font); | ||
font-size: var(--font-jumbo); | ||
font-weight: 700; | ||
} | ||
|
||
|
||
.crear-form{ | ||
max-width: 990px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: stretch; | ||
gap: var(--spacing-68); | ||
} | ||
|
||
|
||
.form__box--grid { | ||
display: grid; | ||
grid-template-columns: 1fr 3fr; | ||
gap: var(--spacing-16); | ||
align-items: center; | ||
} | ||
|
||
.form__box--flex { | ||
display: flex; | ||
gap: var(--spacing-12); | ||
align-items: center; | ||
} | ||
|
||
.form__flex { | ||
display: flex; | ||
gap: var(--spacing-36); | ||
} | ||
|
||
.form__flex .form__box{ | ||
flex: 1 1 100%; | ||
} | ||
|
||
.form__label { | ||
font-size: var(--font-medium); | ||
font-weight: 600; | ||
letter-spacing: 1px; | ||
} | ||
|
||
.form__input { | ||
padding: 1rem 0.5rem; | ||
border: none; | ||
flex-grow: 1; | ||
border-bottom: 2px solid #ff3333; | ||
font-size: var(--font-medium); | ||
} | ||
|
||
.form__input:focus { | ||
outline: 0; | ||
} | ||
|
||
.form__input--wrapper { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.form__input--wrapper .form__input { | ||
width: 50%; | ||
} | ||
|
||
.form__input--wrapper span { | ||
font-size: var(--font-medium); | ||
padding: 1rem 0.5rem; | ||
border-bottom: 2px solid #ff3333; | ||
} | ||
|
||
.form__remember { | ||
display: flex; | ||
align-items: center; | ||
font-size: var(--font-medium); | ||
gap: var(--spacing-8); | ||
} | ||
|
||
.form__terms { | ||
display: flex; | ||
align-items: center; | ||
font-size: var(--font-small); | ||
gap: var(--spacing-8); | ||
} | ||
|
||
.form__submission { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
gap: var(--spacing-16); | ||
} | ||
|
||
.form__btn { | ||
font-size: var(--font-xsmall); | ||
} | ||
|
||
.form__link { | ||
color: var(--secondary-solid); | ||
} | ||
|
||
.form__link:hover { | ||
color: var(--secodary-300); | ||
} | ||
|
||
.form__select { | ||
border-radius: 6px; | ||
border: 2px solid var(--dark-solid); | ||
font-size: var(--font-medium); | ||
padding: var(--spacing-8); | ||
} | ||
|
||
textarea { | ||
width: 100%; | ||
} | ||
|
||
textarea::placeholder { | ||
padding: var(--spacing-8); | ||
color: gainsboro; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
.edit__img { | ||
max-width: 150px; | ||
padding-bottom: var(--spacing-8); | ||
} | ||
|
||
.edit__img-side { | ||
font-size: var(--font-small); | ||
text-align: center; | ||
padding-top: var(--spacing-8); | ||
border-top: 2px solid var(--primary-solid); | ||
font-weight: 600; | ||
} | ||
|
||
|
||
|
||
.btn { | ||
border: none; | ||
cursor: pointer; | ||
} | ||
|
||
/* COLORS */ | ||
|
||
.btn--primary { | ||
background-color: var(--primary-solid); | ||
color: var(--light-font-solid); | ||
transition: background 0.2s ease-in-out; | ||
} | ||
|
||
.btn--primary:hover { | ||
background-color: var(--secondary-solid); | ||
} | ||
|
||
/* SIZES */ | ||
|
||
.btn--medium { | ||
padding: var(--spacing-8) var(--spacing-16); | ||
} | ||
|
||
.btn--large { | ||
padding: var(--spacing-12) var(--spacing-28); | ||
} | ||
|
||
|
||
|
||
/*footer*/ | ||
.footer{ | ||
background-color: var(--dark-bg-solid); | ||
padding: var(--spacing-68); | ||
} | ||
|
||
.footer__copy{ | ||
text-align: center; | ||
margin-top: var(--spacing-36); | ||
} |
Oops, something went wrong.