Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cambios en la home y css #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions public/css/base.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
body{
margin:0;
text-align: center;
}


.title{
font-size: 80px;
margin: 0;

}

.button{
/* Style buttons */
.btn {
background-color: rgb(47, 255, 175); /* Blue background */
border: none; /* Remove borders */
color: white; /* White text */
padding: 12px 16px; /* Some padding */
font-size: 16px; /* Set a font size */
cursor: pointer; /* Mouse pointer on hover */
border-radius: 10px;
}

/* Darker background on mouse-over */
.btn:hover {
background-color: grey;
}

}
111 changes: 107 additions & 4 deletions public/css/home.page.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,112 @@
.hero{
background-image: url("https://picsum.photos/536/354");
background-size: cover;

}

.login{
background-color: aqua;
margin: 20px;
}
.dont-forget {
margin: 0;
width: 267px;
height: 0px;
padding: 54px 54px;
font-family: sans-serif;
font-size: 50px;
font-weight: 500;
font-style: normal;
font-stretch: normal;
line-height: normal;
letter-spacing: -1px;
color: #ffffff;
}

.ANOTHER-BIRTHDAY {
margin: 0 0 27px;
width: 183px;
height: 0px;
padding: 96px 96px;
font-family: sans-serif;
font-size: 18px;
font-weight: 500;
text-transform: uppercase;
font-style: normal;
font-stretch: normal;
line-height: normal;
letter-spacing: normal;
text-align: center;
color: #ffffff;
}

.card {
/* Add shadows to create the "card" effect */
width: 329px;
height: 262px;
padding: 2px 16px;
background-color: #fafafa;
margin: auto;
}


/* Add some padding inside the card container and style the container */
.container {
font-family: sans-serif;
align-content: center;
position: relative;
border-radius: 8px;
padding: 20px 0 30px 0;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
}

/* style inputs and link buttons */
input,
.btn {
width: 80%;
padding: 12px;
border: none;
border-radius: 4px;
margin: 5px 0;
opacity: 0.85;
display: inline-block;
font-size: 17px;
line-height: 20px;
text-decoration: none; /* remove underline from anchors */
}

input:hover,
.btn:hover {
opacity: 1;
}

/* style the submit button */
input[type=submit] {
background-color: #4CAF50;
color: white;
cursor: pointer;
}

input[type=submit]:hover {
background-color: #45a049;
}


/* text inside the vertical line */
.inner {
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
background-color: #f1f1f1;
border: 1px solid #ccc;
border-radius: 50%;
padding: 8px 10px;
}


/* bottom container */
.bottom-container {
text-align: center;
background-color: #666;
border-radius: 0px 0px 4px 4px;
}



35 changes: 29 additions & 6 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,42 @@
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/home.page.css">
<title>Document</title>

</head>
<body>
<section class="hero">
<h1 class="title">Titulo</h1>
<h2 class="subtitle">Subtitle</h2>
<h1 class="dont-forget">don't forget</h1>
<h2 class="ANOTHER-BIRTHDAY">another birthday </h2>
</section>

<section class="card">

<form class="container">

<input type="text" name="name" placeholder="Name" required >
<input type="birthday" name="birthday" placeholder="Birthday" required>
<input type="E-mail" name="E-mail" placeholder="E-mail" required>

<!-- Add material icon -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<button class="btn">ENVIAR<i class="material-icons"> mail_outline </i/button>

</form>


</section>


<section class="login">
Formulario
<section class="statics">
aca van las estadisticas
</section>

<section class="stats"></section>



<section class="ad"></section>
<section class="ad">
Aca va el espacio para adds
</section>
</body>
</html>