Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDeBlassis committed Aug 7, 2022
0 parents commit 988ba7e
Show file tree
Hide file tree
Showing 10 changed files with 794 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 1_Encriptador
Challenge #1 Alura ONE - Encriptador
392 changes: 392 additions & 0 deletions estilos.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,392 @@
/*IMPORTANDO FUENTE*/
@import url('https://rsms.me/inter/inter.css');

html {
font-family: 'Inter', sans-serif;
}

@supports (font-variation-settings: normal) {
html {
font-family: 'Inter var', sans-serif;
}
}


/*body*/
.cuerpo {
margin: 40px 0 40px 40px;
background-color: #E5E5E5;
}

/*Contenedor Principal*/
.contenedor-ppal {
box-sizing: border-box;

position: relative;
width: 1440px;
height: 1024px;

/* Light blue/light-blue-100 */

background: #F3F5FC;
border: 1px solid #000000;
}

/*Contenedor Logo Alura*/
.contenedor-logo {
/* Auto layout */
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 0px;
gap: 40px;

position: absolute;
width: 120px;
height: 48px;
left: 40px;
top: 40px;
}

/*Contenedor lateral*/
.contenedor-lateral {
position: absolute;
width: 400px;
height: 944px;
left: 1000px;
top: 40px;
background: #FFFFFF;
/* shadow */
box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08);
border-radius: 32px;
}

/*Contenedor muñeco*/
.contenedor-munieco {
position: absolute;
width: 336px;
height: 304px;
left: 33px;
top: 283px;
}

/*Contenedor texto debajo de la figura en contenedor lateral*/
.contenedor-texto-munieco {
display: flex;
flex-direction: column;
align-items: flex-start;

padding: 0px;
gap: 16px;
position: absolute;

width: 336px;
height: 122px;
left: 30px;
top: 619px;
}

/*Texto Párrafo - Contenedor Lateral*/
/*texto párrafo 1*/
#texto-p1 {
width: 336px;
height: 58px;

font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 120%;
/* or 29px */
text-align: center;
/* Gray/gray-500 */
color: #343A40;
/* Inside auto layout */
flex: none;
order: 0;
align-self: stretch;
flex-grow: 0;
}

/*texto párrafo 2*/
#texto-p2 {
width: 336px;
height: 48px;

font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 150%;
/* or 24px */

text-align: center;

/* Gray/gray-400 */

color: #495057;


/* Inside auto layout */

flex: none;
order: 1;
align-self: stretch;
flex-grow: 0;
}

/*Área de texto*/
textarea {
/* Ingrese el texto aqui */
cursor: auto;

resize: none;
border: none;
overflow: auto;
outline: none;
/*quita el borde de la caja*/

position: absolute;
width: 577px;
height: 600px;
left: 240px;
top: 168px;

font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 150%;
/* identical to box height, or 48px */

background: #F3F5FC;

/* Dark blue/dark-blue-300 */
color: #0A3871;
}

textarea::placeholder {
color: #0A3871;
}


.textarea::-webkit-scrollbar {
width: 12px;
/* width of the entire scrollbar */
}

.textarea::-webkit-scrollbar-track {
background: #F3F5FC;
/*#5896E1; color of the tracking area */
border-radius: 20px;
}

.textarea::-webkit-scrollbar-thumb {
background-color: #0A3871;
/* color of the scroll thumb */
border-radius: 20px;
/* roundness of the scroll thumb */
border: 1px solid #F3F5FC;
/* creates padding around scroll thumb */
}

.textarea::-webkit-scrollbar-thumb:hover {
box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.2);
}

/*Botón Copiar*/
.boton-copiar{
background-color: #F3F5FC;
border: none;
}
.boton-copiar:hover{
background-color: hsla(0, 0%, 0%, 0.528);
color: white;
}
/*Botón Reset*/
.boton-reset{
background-color: #F3F5FC;
border: none;
}
.boton-reset:hover{
background-color: hsla(0, 0%, 0%, 0.528);
color: white;
}

/*Contenedor Botones Reset y Copy*/
.contenedor-botones-textarea{
display: flex;
flex-direction: row;
align-items: center;
padding: 0px;
gap: 8px;

position: absolute;
width: 400px;
height: 18px;
left: 240px;
top: 775px;
}

/*Contenedor Aclaración*/
.contenedor-aclaracion {
display: flex;
flex-direction: row;
align-items: center;
padding: 0px;
gap: 8px;

position: absolute;
width: 400px;
height: 18px;
left: 240px;
top: 851px;
}

#exclamacion {
width: 16px;
height: 16px;
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}

.texto-advertencia {
width: 400px;
height: 18px;

font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 150%;
/* identical to box height, or 18px */
/* Gray/gray-400 */
color: #495057;
opacity: 0.8;
/* Inside auto layout */
flex: none;
order: 1;
flex-grow: 0;
}

/*Botones*/
.contenedor-botones {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 0px;
gap: 24px;

position: absolute;
width: 680px;
height: 67px;
left: 240px;
top: 885px;
}

.boton.encriptado {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 24px;
gap: 8px;

width: 328px;
height: 67px;

/* Dark blue/dark-blue-300 */

background: #0A3871;
border-radius: 24px;

/* Inside auto layout */

flex: none;
order: 0;
flex-grow: 0;

transition: 2s;
}
.boton.encriptado:hover{
transform: scale(1.1);
background: #234c7f;
}

.boton.desencriptado {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 24px;
gap: 8px;

width: 328px;
height: 67px;

/* Light gray */

background: #D8DFE8;
/* Dark blue/dark-blue-300 */

border: 1px solid #0A3871;
border-radius: 24px;

/* Inside auto layout */

flex: none;
order: 1;
flex-grow: 0;

transition: 2s;
}
.boton.desencriptado:hover{
transform: scale(1.1);
background: #adb2ba;
}

.texto-boton-encriptado {
width: 280px;
height: 19px;

font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
text-align: center;

/* White */

color: #FFFFFF;


/* Inside auto layout */

flex: none;
order: 0;
flex-grow: 1;
}

.texto-boton-desencriptado {
width: 280px;
height: 19px;

font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
text-align: center;

/* Dark blue/dark-blue-300 */

color: #0A3871;


/* Inside auto layout */

flex: none;
order: 0;
flex-grow: 1;
}
Loading

0 comments on commit 988ba7e

Please sign in to comment.