|
| 1 | +@import url('https://fonts.googleapis.com/css?family=Exo+2:400,700&display=swap'); |
| 2 | + |
| 3 | +*{ |
| 4 | + margin: 0; |
| 5 | + padding: 0; |
| 6 | +} |
| 7 | +body { |
| 8 | + font-family: 'Exo 2', sans-serif; |
| 9 | + background-color: rgb(0, 97, 104); |
| 10 | +} |
| 11 | +.full-container { |
| 12 | + height: 100vh; |
| 13 | + display: flex; |
| 14 | + flex-direction: column; |
| 15 | + justify-content: center; |
| 16 | +} |
| 17 | +.quote-box { |
| 18 | + background-color: white; |
| 19 | + margin-left: 8vw; |
| 20 | + margin-right: 8vw; |
| 21 | + text-align: center; |
| 22 | + height: 320px; |
| 23 | + display: flex; |
| 24 | + flex-direction: column; |
| 25 | + justify-content: center; |
| 26 | +} |
| 27 | +.text { |
| 28 | + display: inline-block; |
| 29 | + vertical-align: middle; |
| 30 | + text-align: center; |
| 31 | + padding: 12px; |
| 32 | +} |
| 33 | + |
| 34 | +h2 { |
| 35 | + color: rgb(255, 122, 89); |
| 36 | + font-size: 2.6rem; |
| 37 | + margin: 10px 0 35px 0; |
| 38 | +} |
| 39 | +p { |
| 40 | + font-size: 1.1rem; |
| 41 | + margin: 10px 0 20px 0; |
| 42 | +} |
| 43 | + |
| 44 | +i { |
| 45 | + color: rgb(0, 97, 104); |
| 46 | +} |
| 47 | + |
| 48 | +span#quote { |
| 49 | + margin-right: 15px; |
| 50 | + margin-left: 15px; |
| 51 | +} |
| 52 | + |
| 53 | +button { |
| 54 | + height: 40px; |
| 55 | + width: 100px; |
| 56 | + border-radius: 15%; |
| 57 | + color: white; |
| 58 | + font-weight: bold; |
| 59 | + font-size: 1rem; |
| 60 | + padding: 5px; |
| 61 | + box-shadow: 2px 2px rgb(197, 82, 54); |
| 62 | +} |
| 63 | + |
| 64 | +a button.new-quote { |
| 65 | + background-color: rgb(255, 122, 89); |
| 66 | + border: 2px solid rgb(255, 122, 89); |
| 67 | +} |
| 68 | + |
| 69 | +a button.new-quote:link { |
| 70 | + background-color: rgb(255, 122, 89); |
| 71 | + border: 2px solid rgb(255, 122, 89); |
| 72 | +} |
| 73 | +a button.new-quote:visited { |
| 74 | + background-color: rgb(255, 122, 89); |
| 75 | + border: 2px solid rgb(255, 122, 89); |
| 76 | +} |
| 77 | + |
| 78 | +a button.new-quote:hover { |
| 79 | + background-color: rgb(255, 153, 128); |
| 80 | + border: 2px solid rgb(255, 153, 128); |
| 81 | + cursor: pointer; |
| 82 | +} |
| 83 | + |
| 84 | +a button.new-quote:active { |
| 85 | + background-color: rgb(255, 199, 154); |
| 86 | + border: 2px solid rgb(255, 199, 154); |
| 87 | +} |
| 88 | + |
0 commit comments