A Pen by Imersão Dev Alura on CodePen.
Created
April 5, 2021 13:18
-
-
Save D1ng0ls/c2ef789a6b6aaeac534428e1e87997e1 to your computer and use it in GitHub Desktop.
Mentalista
This file contains hidden or 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
<html> | |
<head> | |
<title> | |
Imersão Dev - Aula 03 | |
</title> | |
</head> | |
<body> | |
<div class="container"> | |
<h1 class="page-title"> | |
Mentalista | |
</h1> | |
<p class="page-subtitle"> | |
Digite um número de 0 a 10 | |
</p> | |
<img src="https://www.alura.com.br/assets/img/imersoes/dev-2021/logo-imersao-mentalista.svg" class="page-logo" | |
alt=""> | |
</div> | |
<a href="https://alura.com.br/" target="_blank"> | |
<img src="https://www.alura.com.br/assets/img/home/alura-logo.svg" alt="" class="alura-logo"> | |
</a> | |
</body> | |
</html> |
This file contains hidden or 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
body { | |
font-family: 'Roboto Mono',monospace; | |
min-height: 600px; | |
background-image: url('https://www.alura.com.br/assets/img/imersoes/dev-2021/dia-03-mentalista.png'); | |
background-color: #000000; | |
background-size: cover; | |
background-position: center bottom; | |
background-repeat: no-repeat; | |
} | |
.container { | |
text-align: center; | |
padding: 20px; | |
height: 100vh; | |
} | |
.page-title { | |
color: #ffffff; | |
margin: 0 0 5px; | |
} | |
.page-subtitle { | |
color: #ffffff; | |
margin-top: 5px; | |
} | |
.page-logo { | |
width: 200px; | |
} | |
.alura-logo { | |
width: 40px; | |
position: absolute; | |
top: 10px; | |
right:10px; | |
} | |
@media (max-height: 500px) { | |
body { | |
min-height:800px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment