$tab-wrap-border-radius: 6px; $max-tab-count: 2; @font-face { font-family: "WindsorRegular"; src: url("../font/WindsorRegular.woff2") format("woff2"); } * { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; } body { margin: 0; padding: 0; } html { scroll-behavior: smooth; } h1 { font-family: "WindsorRegular"; margin: 0; } pre { font-family: monospace; } button { background-color: #ff9900; color: white; border: 1px solid transparent; border-radius: 0.25rem; font-size: 2rem; padding: 0.375rem 0.75rem; line-height: 1.5; font-size: large; cursor: pointer; } #s1 { font-size: 200%; } #s1, #s2, #s3 { display: flex; padding: 5%; padding-bottom: 2.5%; padding-top: 2.5%; justify-content: space-between; align-items: center; flex-wrap: wrap; } #s1 > div, #s2 > div, #s3 > div { margin: 15px; max-width: 50%; } #s2 { z-index: 2; position: relative; background-color: white; } #s1, #s3 { background-color: whitesmoke; } .tab-wrap { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); &:hover { box-shadow: 0 12px 23px rgba(0, 0, 0, 0.23), 0 10px 10px rgba(0, 0, 0, 0.19); } border-radius: $tab-wrap-border-radius; width: 100%; transition: 0.3s box-shadow ease; display: flex; flex-wrap: wrap; position: relative; background-color: #fff; } .tab { display: none; @for $i from 1 through $max-tab-count { &:checked:nth-of-type(#{$i}) ~ .tab__content:nth-of-type(#{$i}) { opacity: 1; transition: 0.5s opacity ease-in, 0.8s transform ease; position: relative; z-index: 100; } } &:not(:first-of-type):not(:last-of-type) + label { border-radius: 0; } &:last-of-type:not(:first-of-type) + label { border-top-left-radius: 0; border-bottom-left-radius: 0; } &:checked + label { background-color: #fff; box-shadow: 0 -1px 0 #fff inset; cursor: default; &:hover { box-shadow: 0 -1px 0 #fff inset; background-color: #fff; } } + label { box-shadow: 0 -1px 0 #eee inset; border-radius: $tab-wrap-border-radius $tab-wrap-border-radius 0 0; display: block; color: #333; flex-grow: 3; text-align: center; background-color: #f2f2f2; user-select: none; text-align: center; cursor: pointer; transition: 0.3s background-color ease, 0.3s box-shadow ease; box-sizing: border-box; padding: 15px; &:hover { background-color: #f9f9f9; box-shadow: 0 1px 0 #f4f4f4 inset; } } &__content { padding: 10px 25px; background-color: transparent; position: absolute; width: 100%; z-index: -1; opacity: 0; left: 0; border-radius: $tab-wrap-border-radius; } } // xpih bar #xiphbar_outer { background-color: #666666; min-width: 840px; width: 100%; height: 30px; } #xiphbar { min-width: 840px; width: 840px; height: 30px; margin-left: auto; margin-right: auto; padding: 0 8px 0 8px; a { margin-left: 16px; color: #ffcc66; text-decoration: none; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; } & a:hover { color: #ffe6b3; } } #xiphbanner { float: left; vertical-align: middle; } #xiphlinks { font-size: 11px; vertical-align: middle; } // player .player { .music { .song-1, .song-2, .song-3 { height: 80px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; .info { display: flex; align-items: center; .img { width: 60px; height: 60px; background: red; margin-right: 10px; } .img.first, .img.third { background: url(../img/none.png) center center; background-size: cover; } .img.second { background: url(../img/billy.jfif) center center; background-size: cover; } h5, p { margin: 0; color: black; } h5 { font-size: 17px; font-weight: 400; margin-bottom: 7px; } p { font-size: 13px; color: #929292; } } } .song-1 { border-bottom: 2px solid #333; h5 { font-size: 25.5px !important; } p { font-size: 19.5px !important; } .img { width: 70px !important; height: 70px !important; } } } } // nav nav { background-color: whitesmoke; & > ul { list-style-type: none; margin: 0; padding: 5px; overflow: hidden; padding-left: 6%; top: 0; & > li { float: left; & a { display: block; color: black; text-align: center; text-decoration: none; border-radius: 0.25rem; padding: 0.375rem 0.75rem; } & a:hover:not(.active) { background-color: white; } } } } .active { background-color: #ff9900; color: white; } footer { background-color: whitesmoke; display: flex; text-align: center; justify-content: center; padding: 5px; color: #929292; font-size: xx-small; } @media only screen and (max-width: 1000px) { #s1 > div, #s2 > div, #s3 > div { max-width: 100%; width: 100%; } #xiphbar_outer { display: none; } #arrows > div > img { transform: rotate(90deg); } .r-container { display: none; } } .r-container { position: relative; } // record .r-container > .container { z-index: 1; position: absolute; width: 450px; height: 450px; top: -250px; right: 5%; } .vinyl { background: radial-gradient( ellipse at center, #959595 0%, #0d0d0d 23%, #6b6b6b 25%, #070707 28%, #070707 34%, #606060 37%, #070707 39%, #010101 48%, #757575 50%, #0a0a0a 52%, #0a0a0a 56%, #777777 58%, #0a0a0a 61%, #050505 70%, #777777 72%, #0c0c0c 74%, #4e4e4e 76%, #383838 87%, #1b1b1b 100% ); border-radius: 50%; display: block; position: absolute; z-index: 10; width: 450px; height: 450px; box-shadow: 0px 0px 15px 0px gray; } .vinyl-inner1 { position: absolute; display: block; z-index: 20; width: 150px; height: 150px; margin: 150px; border-radius: 50%; background: #313337; } .vinyl-inner2 { position: absolute; display: block; z-index: 30; width: 120px; height: 120px; margin: 15px; border-radius: 50%; background: #371d21; } .vinyl-inner3 { position: absolute; display: block; z-index: 40; width: 30px; height: 30px; margin: 45px; border-radius: 50%; background: black; } .vinyl-inner4 { position: absolute; display: block; z-index: 50; width: 15px; height: 15px; margin: 7.5px; border-radius: 50%; background: white; } .green { background-color: lime; } .red { background-color: red; }