| 
 | 1 | +@import url("https://fonts.googleapis.com/css2?family=Caveat&family=Dancing+Script&display=swap");  | 
 | 2 | + | 
 | 3 | +* {  | 
 | 4 | +  margin: 0;  | 
 | 5 | +  padding: 0;  | 
 | 6 | +}  | 
 | 7 | + | 
 | 8 | +:root {  | 
 | 9 | +  --background-gradient: radial-gradient(#2b8fb4, #67489f);  | 
 | 10 | +  --box-border-color: #06bdc1;  | 
 | 11 | +  --button-color: #17a2b8;  | 
 | 12 | +  --button-hover-color: #138496;  | 
 | 13 | +  --button-font-color: white;  | 
 | 14 | +  --button-border-color: #117a8b;  | 
 | 15 | +  --font-quote: "Caveat", cursive;  | 
 | 16 | +  --font-author: "Dancing Script", cursive;  | 
 | 17 | +}  | 
 | 18 | + | 
 | 19 | +#app {  | 
 | 20 | +  display: flex;  | 
 | 21 | +  flex-direction: column;  | 
 | 22 | +  justify-content: center;  | 
 | 23 | +  align-items: center;  | 
 | 24 | +  height: 100vh;  | 
 | 25 | +  background: var(--background-gradient);  | 
 | 26 | +}  | 
 | 27 | + | 
 | 28 | +#app .quoteContainer {  | 
 | 29 | +  display: flex;  | 
 | 30 | +  flex-direction: column;  | 
 | 31 | +  justify-content: center;  | 
 | 32 | +  align-items: center;  | 
 | 33 | +  width: 700px;  | 
 | 34 | +  min-height: 350px;  | 
 | 35 | +  padding: 50px;  | 
 | 36 | +  box-sizing: border-box;  | 
 | 37 | +  background-color: white;  | 
 | 38 | +  margin-bottom: 30px;  | 
 | 39 | +  border: 10px solid var(--box-border-color);  | 
 | 40 | +  border-radius: 10px;  | 
 | 41 | +  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.9);  | 
 | 42 | +}  | 
 | 43 | + | 
 | 44 | +#app .quoteContainer .quoteArea {  | 
 | 45 | +  font-family: var(--font-quote);  | 
 | 46 | +  font-size: 1.8rem;  | 
 | 47 | +  text-align: center;  | 
 | 48 | +  margin-bottom: 30px;  | 
 | 49 | +}  | 
 | 50 | + | 
 | 51 | +#app .quoteContainer .authorArea {  | 
 | 52 | +  font-family: var(--font-author);  | 
 | 53 | +  font-size: 2rem;  | 
 | 54 | +}  | 
 | 55 | + | 
 | 56 | +button {  | 
 | 57 | +  padding: 10px 15px;  | 
 | 58 | +  background-color: var(--button-color);  | 
 | 59 | +  border-radius: 5px;  | 
 | 60 | +  cursor: pointer;  | 
 | 61 | +  outline: 0;  | 
 | 62 | +  color: var(--button-font-color);  | 
 | 63 | +  font-size: 1rem;  | 
 | 64 | +  border: 1px solid var(--button-border-color);  | 
 | 65 | +  transition: all 0.2s;  | 
 | 66 | +}  | 
 | 67 | + | 
 | 68 | +button:hover {  | 
 | 69 | +  color: white;  | 
 | 70 | +  font-weight: 500;  | 
 | 71 | +  background-color: var(--button-hover-color);  | 
 | 72 | +}  | 
 | 73 | + | 
 | 74 | +@media screen and (max-width: 1000px) {  | 
 | 75 | +  #app {  | 
 | 76 | +    padding: 0 100px;  | 
 | 77 | +  }  | 
 | 78 | + | 
 | 79 | +  #app .quoteContainer {  | 
 | 80 | +    width: 100%;  | 
 | 81 | +  }  | 
 | 82 | +}  | 
0 commit comments