|
| 1 | +body, html { |
| 2 | + height: 100%; |
| 3 | + width: 100%; |
| 4 | + margin: 0; |
| 5 | + font: 400 15px/1.8 "Lato", sans-serif; |
| 6 | + color: #777; |
| 7 | +} |
| 8 | + |
| 9 | +h3 { |
| 10 | + letter-spacing: 5px; |
| 11 | + text-transform: uppercase; |
| 12 | + font: 20px "Lato", sans-serif; |
| 13 | + color: #111; |
| 14 | +} |
| 15 | + |
| 16 | +div.wrapper { |
| 17 | + width: 100%; |
| 18 | + height: 100%; |
| 19 | + display: flex; |
| 20 | + justify-content: center; |
| 21 | + align-items: flex-end; |
| 22 | + opacity: 1; |
| 23 | +} |
| 24 | + |
| 25 | +.button { |
| 26 | + background: #6a3093; /* fallback for old browsers */ |
| 27 | + background: -webkit-linear-gradient(to bottom, #a044ff, #6a3093); /* Chrome 10-25, Safari 5.1-6 */ |
| 28 | + background: linear-gradient(to bottom, #a044ff, #6a3093); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ |
| 29 | + border: none; |
| 30 | + border-radius: 5em; |
| 31 | + color: white; |
| 32 | + padding: 10px 32px; |
| 33 | + text-align: center; |
| 34 | + text-decoration: none; |
| 35 | + display: inline-block; |
| 36 | + font-size: 16px; |
| 37 | + margin: 1em; |
| 38 | + bottom: 1em; |
| 39 | + display: fixed; |
| 40 | + bottom: 0; |
| 41 | + opacity: 1; |
| 42 | + z-index: 5000; |
| 43 | + letter-spacing: .1em; |
| 44 | + text-transform: uppercase; |
| 45 | + font: 1.5em "Lato", sans-serif; |
| 46 | +} |
| 47 | + |
| 48 | +.givethOverlay{ |
| 49 | + position: fixed; |
| 50 | + top: 0; |
| 51 | + left: 0; |
| 52 | + opacity: .75; |
| 53 | + background-position: center; |
| 54 | + background-repeat: no-repeat; |
| 55 | + background-size: cover; |
| 56 | + height: 100%; |
| 57 | + width: 100%; |
| 58 | + background-image: url("assets/giveth.svg"); |
| 59 | + z-index: 4000; |
| 60 | +} |
| 61 | + |
| 62 | +.capt{ |
| 63 | + position: fixed; |
| 64 | + top: 0; |
| 65 | + left: 0; |
| 66 | + opacity: 1; |
| 67 | + height: 100%; |
| 68 | + width: 100%; |
| 69 | +} |
| 70 | + |
| 71 | +.image{ |
| 72 | + position: fixed; |
| 73 | + top: 0; |
| 74 | + left: 0; |
| 75 | + opacity: 1; |
| 76 | + background-position: center; |
| 77 | + background-repeat: no-repeat; |
| 78 | + background-size: cover; |
| 79 | + height: 100%; |
| 80 | + width: 100%; |
| 81 | + -webkit-transition: opacity 1s ease-in-out; |
| 82 | + -moz-transition: opacity 1s ease-in-out; |
| 83 | + -o-transition: opacity 1s ease-in-out; |
| 84 | + transition: opacity 1s ease-in-out; |
| 85 | +} |
| 86 | + |
| 87 | +.bgimg-1 { |
| 88 | + background-image: url("assets/1.jpg"); |
| 89 | +} |
| 90 | + |
| 91 | +.bgimg-2 { |
| 92 | + background-image: url("assets/2.jpg"); |
| 93 | +} |
| 94 | + |
| 95 | +.bgimg-3 { |
| 96 | + background-image: url("assets/3.jpg"); |
| 97 | +} |
| 98 | + |
| 99 | +.bgimg-4 { |
| 100 | + background-image: url("assets/4.jpg"); |
| 101 | +} |
| 102 | + |
| 103 | +.bgimg-5 { |
| 104 | + background-image: url("assets/5.jpg"); |
| 105 | +} |
| 106 | + |
| 107 | +.hidden { |
| 108 | + opacity: 0; |
| 109 | +} |
| 110 | + |
| 111 | +.caption { |
| 112 | + position: absolute; |
| 113 | + left: 0; |
| 114 | + bottom: 15%; |
| 115 | + width: 100%; |
| 116 | + text-align: center; |
| 117 | + color: #000; |
| 118 | +} |
| 119 | + |
| 120 | +.caption span.border { |
| 121 | + background-color: #111; |
| 122 | + color: #fff; |
| 123 | +} |
| 124 | + |
| 125 | +/* Extra small devices (phones, 600px and down) */ |
| 126 | +@media only screen and (max-width: 600px) { |
| 127 | + .button { |
| 128 | + letter-spacing: .15em; |
| 129 | + font-size: 1em; |
| 130 | + } |
| 131 | + .caption span.border { |
| 132 | + padding: .4em; |
| 133 | + letter-spacing: .15em; |
| 134 | + font-size: 1em; |
| 135 | + } |
| 136 | +} |
| 137 | + |
| 138 | +/* Small devices (portrait tablets and large phones, 600px and up) */ |
| 139 | +@media only screen and (min-width: 600px) { |
| 140 | + .button { |
| 141 | + letter-spacing: .2em; |
| 142 | + font-size: 1.25em; |
| 143 | + } |
| 144 | + .caption span.border { |
| 145 | + padding: .5em; |
| 146 | + letter-spacing: .2em; |
| 147 | + font-size: 1.25em; |
| 148 | + }} |
| 149 | + |
| 150 | +/* Medium devices (landscape tablets, 768px and up) */ |
| 151 | +@media only screen and (min-width: 768px) { |
| 152 | + .button { |
| 153 | + letter-spacing: .23em; |
| 154 | + font-size: 1.5em; |
| 155 | + } |
| 156 | + .caption span.border { |
| 157 | + padding: .6em; |
| 158 | + letter-spacing: .23em; |
| 159 | + font-size: 1.5em; |
| 160 | + } |
| 161 | +} |
| 162 | + |
| 163 | +/* Large devices (laptops/desktops, 992px and up) */ |
| 164 | +@media only screen and (min-width: 992px) { |
| 165 | + .button { |
| 166 | + letter-spacing: .27em; |
| 167 | + font-size: 1.7em; |
| 168 | + } |
| 169 | + .caption span.border { |
| 170 | + padding: .7em; |
| 171 | + letter-spacing: .27em; |
| 172 | + font-size: 1.7em; |
| 173 | + } |
| 174 | +} |
| 175 | + |
| 176 | +/* Extra large devices (large laptops and desktops, 1200px and up) */ |
| 177 | +@media only screen and (min-width: 1200px) { |
| 178 | + .button { |
| 179 | + letter-spacing: .3em; |
| 180 | + font-size: 2em; |
| 181 | + } |
| 182 | + .caption span.border { |
| 183 | + padding: .8em; |
| 184 | + letter-spacing: .3em; |
| 185 | + font-size: 2em; |
| 186 | + } |
| 187 | +} |
0 commit comments