Last active
August 30, 2020 16:46
-
-
Save luismcabrera/fff6924dfb7386b384f7240d6260e51a to your computer and use it in GitHub Desktop.
React App - Breaking Bad API
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
* { | |
border: 0; | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body { | |
background: rgba(0,0,0,1); | |
background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(11,58,13,1) 23%, rgba(11,58,13,1) 33%, rgba(31,42,0,1) 70%, rgba(28,28,28,1) 86%, rgba(19,19,19,1) 100%); | |
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,0,0,1)), color-stop(23%, rgba(11,58,13,1)), color-stop(33%, rgba(11,58,13,1)), color-stop(70%, rgba(31,42,0,1)), color-stop(86%, rgba(28,28,28,1)), color-stop(100%, rgba(19,19,19,1))); | |
background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(11,58,13,1) 23%, rgba(11,58,13,1) 33%, rgba(31,42,0,1) 70%, rgba(28,28,28,1) 86%, rgba(19,19,19,1) 100%); | |
background: -o-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(11,58,13,1) 23%, rgba(11,58,13,1) 33%, rgba(31,42,0,1) 70%, rgba(28,28,28,1) 86%, rgba(19,19,19,1) 100%); | |
background: -ms-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(11,58,13,1) 23%, rgba(11,58,13,1) 33%, rgba(31,42,0,1) 70%, rgba(28,28,28,1) 86%, rgba(19,19,19,1) 100%); | |
background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(11,58,13,1) 23%, rgba(11,58,13,1) 33%, rgba(31,42,0,1) 70%, rgba(28,28,28,1) 86%, rgba(19,19,19,1) 100%); | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#131313', GradientType=1 ); | |
font-size: 24px; | |
font-family: 'Roboto'; | |
} | |
.app { | |
width: 100%; | |
height: 100vh; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
padding-left: 10px; | |
padding-right: 10px; | |
padding-top: 80px; | |
} | |
button { | |
padding: 10px; | |
border-radius: 3px; | |
text-transform: uppercase; | |
font-weight: bold; | |
box-shadow: 1px 2px 5px rgba(0,0,0,.3); | |
margin-top: 20px; | |
margin-bottom: 20px; | |
cursor: pointer; | |
background-color: #de9200; | |
transition: background .1s linear; | |
} | |
button:hover { | |
background-color: #ffa800; | |
} | |
button:hover, button:focus { | |
outline: none; | |
} | |
img { | |
width: 100%; | |
max-width: 260px; | |
background-color: rgba(255,255,255, .8); | |
padding: 10px; | |
box-shadow: 1px 2px 5px rgba(0,0,0,.3); | |
border-radius: 10px; | |
} | |
p { | |
font-size: 48px; | |
color: #ccc; | |
text-align: center; | |
animation: fade .2s; | |
} | |
span { | |
font-size: .75em; | |
color: #bbb; | |
color: #daa646; | |
text-transform: capitalize; | |
} | |
@media(min-width: 680px) { | |
.app { | |
padding-left: 160px ; | |
padding-right: 160px ; | |
} | |
} | |
@keyframes fade { | |
0% { opacity: 0; } | |
100% { opacity: 1; } | |
} |
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
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap" rel="stylesheet"> |
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
<img | |
src="https://upload.wikimedia.org/wikipedia/commons/7/77/Breaking_Bad_logo.svg" | |
alt="logo" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment