Skip to content

Commit

Permalink
joke_teller/style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
RChursin committed Aug 28, 2023
1 parent af584b9 commit b4c7999
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions joke_teller/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/* ROBOT.GIF from Giphy - https://giphy.com/gifs/robot-cinema-4d-eyedesyn-3o7abtn7DuREEpsyWY */

html {
box-sizing: border-box;
}

body {
margin: 0;
background: #45badd;
}

.container {
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: url("./giphy-robo1.gif");
background-size: contain;
background-position: left center;
background-repeat: no-repeat;
}

button {
cursor: pointer;
outline: none;
width: 200px;
height: 50px;
font-family: 'Courier New', Courier, monospace;
font-size: 20px;
color: white;
background: #ff3482;
border: none;
border-radius: 5px;
box-shadow: 2px 2px 20px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
filter: brightness(95%);
}

button:active {
transform: scale(0.98);
}

button:disabled {
cursor: default;
filter: brightness(30%);
}

/* Media Query: Tablet or Smaller Device*/
@media screen and (max-width: 1000px) {
.container {
background-size: cover;
background-position: center center;
}

button {
box-shadow: 5px 5px 30px 20px rgba(0, 0, 0, 0.5);
}
}

0 comments on commit b4c7999

Please sign in to comment.