|
| 1 | +/* |
| 2 | +*** |
| 3 | +* COSTUME STYLESHEET |
| 4 | +*** |
| 5 | +* Please use the bootstrap color pallet and available css variables |
| 6 | +* for a more consistent design |
| 7 | +*/ |
| 8 | + |
| 9 | +/* |
| 10 | +*---------------------------------------------------------------- |
| 11 | +* SITE HEADER |
| 12 | +*---------------------------------------------------------------- |
| 13 | +*/ |
| 14 | + |
| 15 | +.site-header{ |
| 16 | + background-color: rgba(0, 0, 0, .85); |
| 17 | + -webkit-backdrop-filter: saturate(180%) blur(20px); |
| 18 | + backdrop-filter: saturate(180%) blur(20px); |
| 19 | +} |
| 20 | + |
| 21 | +/* |
| 22 | +*---------------------------------------------------------------- |
| 23 | +* HERO SECTION |
| 24 | +*---------------------------------------------------------------- |
| 25 | +*/ |
| 26 | +.hero-section { |
| 27 | + background-color: var(--indigo); |
| 28 | +} |
| 29 | + |
| 30 | +.hero-section__graphic { |
| 31 | + |
| 32 | +} |
| 33 | + |
| 34 | +.hero-section__graphic, .hero-section__graphic:before, .hero-section__graphic:after { |
| 35 | + background-color: rgba(255,255,255,0.1); |
| 36 | + width: 300px; |
| 37 | + height: 300px; |
| 38 | + border-radius: 40% 30% 30% 40% / 60% 40% 60% 40%; |
| 39 | +} |
| 40 | + |
| 41 | +.hero-section__graphic:before, .hero-section__graphic:after { |
| 42 | + content: ''; |
| 43 | + display: inline-block; |
| 44 | + position: absolute; |
| 45 | + left: 0; |
| 46 | + top: 0; |
| 47 | + animation: float 10s infinite linear; |
| 48 | +} |
| 49 | +.hero-section__graphic:after { |
| 50 | + animation-direction: reverse; |
| 51 | + animation-delay: 500ms; |
| 52 | +} |
| 53 | + |
| 54 | +.hero-section__icon{ |
| 55 | + fill: var(--light); |
| 56 | + width: 100%; |
| 57 | + height: auto; |
| 58 | +} |
| 59 | + |
| 60 | + |
| 61 | +@keyframes float { |
| 62 | + 0% { |
| 63 | + transform: translate(0%, 0%) rotate(0); |
| 64 | + } |
| 65 | + |
| 66 | + 33% { |
| 67 | + transform: translate(2%, 2%) rotate(120deg); |
| 68 | + } |
| 69 | + |
| 70 | + 66% { |
| 71 | + transform: translate(2%, -2%) rotate(240deg); |
| 72 | + } |
| 73 | + |
| 74 | + |
| 75 | + to { |
| 76 | + transform: translate(0%, 0%) rotate(360deg); |
| 77 | + } |
| 78 | +} |
0 commit comments