|
27 | 27 | margin: 0 0 1em 0; |
28 | 28 | } |
29 | 29 |
|
| 30 | +.background-image { |
| 31 | + background-image: url("../../images/pic01.jpg"); |
| 32 | + background-size: cover; |
| 33 | + background-position: center center; |
| 34 | + top: 2em; |
| 35 | + height: 100vh; |
| 36 | + width: 100%; |
| 37 | + position: fixed; |
| 38 | + z-index: -1; |
| 39 | + opacity: 0.1; |
| 40 | +} |
| 41 | + |
| 42 | +.banner-still { |
| 43 | + margin: 0em 0em 2em 0em; |
| 44 | + height: 20vmax; |
| 45 | + width: 100%; |
| 46 | + position: relative; |
| 47 | + overflow: hidden; |
| 48 | + background-image: url("../../images/placeholder2.png"); |
| 49 | + background-size: cover; |
| 50 | + background-position: center; |
| 51 | +} |
| 52 | + |
| 53 | +/*.banner:after { |
| 54 | + content: ''; |
| 55 | + position: absolute; |
| 56 | + top: 0; |
| 57 | + left: 0; |
| 58 | + display: block; |
| 59 | + width: 100%; |
| 60 | + height: 100%; |
| 61 | + background: #232029; |
| 62 | + opacity: 0.7; |
| 63 | + z-index: -1; |
| 64 | +}*/ |
| 65 | + |
| 66 | +.banner-animated { |
| 67 | + margin: 0em 0em 2em 0em; |
| 68 | + padding: 0em 0em 0em 0em; |
| 69 | + box-sizing: border-box; |
| 70 | + width: 300%; |
| 71 | + height: 20vmax; |
| 72 | + overflow: hidden; |
| 73 | + position: relative; |
| 74 | + justify-content: center; |
| 75 | + align-items: center; |
| 76 | + display: flex; |
| 77 | + animation: slideshow-animation 45s infinite alternate; |
| 78 | + /*background-image: url("../../images/pic01.jpg"); |
| 79 | + background-color: #848bf2; |
| 80 | + background-position: center; |
| 81 | + background-size: contain; |
| 82 | + background-repeat: no-repeat; |
| 83 | + opacity: 0.5;*/ |
| 84 | +} |
| 85 | + |
| 86 | +.banner-animated-slide { |
| 87 | + width: calc(100% / 3); |
| 88 | + display: flex; |
| 89 | +} |
| 90 | + |
| 91 | +@keyframes slideshow-animation { |
| 92 | + 0% { transform: translateX(0); } |
| 93 | + 10% { transform: translateX(0); } |
| 94 | + 30% { transform: translateX(-33.33%); } |
| 95 | + 70% { transform: translateX(-33.33%); } |
| 96 | + 90% { transform: translateX(-66.66%); } |
| 97 | + 100% { transform: translateX(-66.66%); } |
| 98 | +} |
| 99 | + |
30 | 100 | html, body, div, span, applet, object, |
31 | 101 | iframe, h1, h2, h3, h4, h5, h6, p, blockquote, |
32 | 102 | pre, a, abbr, acronym, address, big, cite, |
@@ -2592,7 +2662,7 @@ input, select, textarea { |
2592 | 2662 | -webkit-flex-wrap: wrap; |
2593 | 2663 | -ms-flex-wrap: wrap; |
2594 | 2664 | flex-wrap: wrap; |
2595 | | - postiion: relative; |
| 2665 | + position: relative; |
2596 | 2666 | margin: -2.5em 0 0 -2.5em; |
2597 | 2667 | } |
2598 | 2668 |
|
|
0 commit comments