123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579 |
- /*=======================COMUNE=====================*/
- html{
- width: 100%;
- height: 100%;
- }
- body {
- margin:0;
- font-family: monospace;
- }
- article:not(:target){
- display: none;
- }
- article{
- height: 100%;
- }
- #about{
- background: transparent;
- z-index: 10;
- /*
- border-left:solid 1em white;
- */
- transition: border-left 3s ease-in 4s;
- }
- #about-randio:target > .text, #listen:target > .text, #functioning:target > .text, #further:target > .text, #random:target > .text, #contribution:target > .text, #policy:target > .text, #patches:target > .text, #contacts:target > .text, #other-radios:target > .text
- {
- display:block;
- }
- #radio-wrapper{
- width:100%;
- /*margin: 0.5em 0 1.5em -3.7em;
- allineare il player con info-wrapper*/
- margin: 0.5em 0 1.5em 0em;
- justify-content: center;
- }
- #now-playing{
- margin: auto;
- width: 100%;
- }
- .text
- {
- display:none;
- color:#333333;
- line-height: 1.5em;
- overflow-y: scroll;
- overflow-x: hidden;
- }
- .pd-style{
- background:white;
- border: solid 0.12em black;
- position: relative;
- }
- h3.pd-style{
- }
- .pdlet{
- }
- .pd-style::before{
- content: " ";
- display: block;
- position: absolute;
- background: black;
- width: 2em;
- height: 0.4em;
- }
- .pd-style::after{
- content: " ";
- display: block;
- position: absolute;
- background: black;
- width: 2em;
- height: 0.4em;
- bottom:0;
- }
- .text-wrapper{
- height:100%;
- }
- .text-wrapper > article{
- margin: 0;
- font-size: 1.2em;
- }
- .accordion-strip > a > h3{
- margin: 0;
- background: white;
- border:0.1em solid black;
- color:black;
- padding-left:0.4em;
- padding-right:0.4em;
- }
- .accordion-strip{
- display: flex;
- flex-wrap: wrap;
- }
- .accordion-title{
- text-decoration: none;
- display: block;
- }
- .text
- {
- }
- .cookies{
- background:black;
- width:100%;
- height: 0%;
- position: fixed;
- text-align: center;
- left: 0;
- display: flex;
- bottom:0;
- animation-name: schiacciamento;
- animation-duration: 4s;
- animation-delay: 0.3s;
- animation-fill-mode: forwards;
- animation-iteration-count: 1;
- }
- .cookies > p{
- color: white;
- animation-name: scomparsa;
- animation-duration: 4s;
- animation-delay: 0.3s;
- }
- @keyframes schiacciamento {
- 0% {height: 0em;}
- 50% {height: 4em;}
- 100% {height: 0em;}
- }
- @keyframes scomparsa {
- 0% {color: transparent;}
- 20% {color: white;}
- 50% {color: white;}
- 80% {color: transparent;}
- }
- /* 1.25 dpr */
- @media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){
- html{
- font-size:1.7em;
- }
- }
- @media screen and (max-width: 700px) {
- .accordion-strip{
- right: 0;
- border-top: 0.1em solid black;
- }
- .accordion-strip > a > h3{
- margin-top:0em;
- }
- #about{
- bottom:0 !important;
- }
- }
- @media screen and (max-width: 999px) {
- body{
- justify-content: center;
- flex-wrap: wrap;
- display: flex;
- }
- main{
- position: relative;
- width: 100%;
- max-width: 45em;
- padding-bottom: 4em;
- }
- aside{
- }
- nav {
- flex-wrap: wrap;
- position: relative;
- padding:2em;
- }
- p{
- max-width: 40em;
- }
- #about{
- padding-right: 1em;
- }
- #logo{
- height:7em;
- flex: 1 1 100%;
- }
- #logo > div{
- margin: auto;
- }
- #info-wrapper{
- padding: 0 1em 0 1em;
- }
- #description-wrapper{
- padding: 0 1em 0.5em 1em;
- }
- #ring-wrapper{
- position:absolute;
- bottom:10em;
- justify-content:center;
- width:100%;
- padding-bottom:2em;
- padding-top:2em;
- display:flex;
- flex:1 1 100%;"
- }
- #radio-info{
- display: flex;
- flex-wrap: wrap;
- }
- .accordion-strip{
- bottom: 0;
- position: absolute;
- margin-top: 5em;
- }
- .accordion-title{
- flex: 1 1 auto;
- }
- .info-wrapper {
- padding:1em;
- }
- .text{
- }
- .text > *{
- max-width: 35em;
- padding: 0 5% 0 1%;
- list-style-type: none;
- }
- .text-wrapper{
- padding: 1em 1em 19em 1em;
- overflow:hidden;
- }
- .text-wrapper > article{
- padding: 0;
- width: 116%;
- }
- }
- @media screen and (min-width: 1000px) {
- nav {
- -moz-box-shadow: 0 0 10px #000000;
- -webkit-box-shadow: 0 0 10px #000000;
- box-shadow: 0 0 10px #000000;
- flex: 1 1 100%;
- height:7em;
- display: flex;position: fixed;
- width: 100%;
- background: white;
- z-index: 20;
- }
- main {
- padding-left: 5em;
- padding-top: 2em;
- }
- article{
- overflow: hidden;
- width: 43em;
- }
- .text-wrapper{
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- }
- #radio-info{
- max-width: 30em;
- }
- #now-playing{
- }
- #piece-text
- {
- border: solid 1px black;
- width:100%;
- }
- #radio-column{
- flex: 0 1 18%;
- padding-top:5em;
- }
- #piece-text > h3{
- padding-left: 1em;
- padding-right: 1em;
- }
- #description-wrapper{
- width: 23em;
- margin: 0 0 0 1em;
- }
- #about{
- height: 100vh;
- /* right: -61%; */
- /* ====================== */
- right:0;
- opacity: 0;
- transition: opacity 1.5s cubic-bezier(.17,.84,.44,1);
- /* ====================== */
- max-width: 60%;
- position: fixed;
- z-index: 33 !important;
- padding: 0 0 0 1%;
- top:0;
- transition: right 1s cubic-bezier(.17,.84,.44,1);
- }
- .about-bar{
- position: fixed;
- right: 0em;
- height: 100%;
- width: 1em;
- top: 0;
- display: inline-block;
- z-index: 43;
- transition: right 1s cubic-bezier(.17,.84,.44,1);
- }
- input[type=checkbox]:checked + label + h5 + #about{
- /*
- right:0em;
- border-left: solid 1em black;
- transition: border-left 3s ease-in;
- transition: right 1s cubic-bezier(.17,.84,.44,1);
- */
- opacity:1;
- transition: opacity 1.5s cubic-bezier(.17,.84,.44,1);
- }
- input[type=checkbox]:not(:checked) + label + h5 + #about{
- /*
- right:0em;
- border-left: solid 1em black;
- transition: border-left 3s ease-in;
- transition: right 1s cubic-bezier(.17,.84,.44,1);
- */
- opacity:0;
- transition: opacity 0.6s linear 0.1s;
- }
- input[type=checkbox]:active + .bang::after{
- background: black;
- }
- .bang{
- position: fixed;
- border: solid 1pt black;
- top: 0;
- /* right: 4em;*/
- right: 1em;
- width: 1.6em;
- height: 1.6em;
- padding: 0;
- margin: 0.4em 0.4em 0;
- z-index: 60;
- }
- .bang::after{
- width: 0;
- height: 0;
- border-left: 0.8em solid transparent;
- border-right: 0.8em solid transparent;
- border-top: black;
- position: absolute;
- content: "";
- left: -0.8em;
- background: white;
- padding-left: 0.8em;
- padding-bottom: 1.6em;
- padding-right: 0.8em;
- border-radius: 1em;
- border: solid 1pt black;
- margin-left: 0.7em;
- top: -0.1em;
- }
- input[type=reset]:active{
- /* the reset button when mouse-down */
- }
- .dx{
- background-color: aquamarine;
- }
- input[type="radio"]:checked + #about{
- right:0;
- transition: right 1s cubic-bezier(.17,.84,.44,1);
- }
- .sx{
- background-color: black;
- }
- input[id="toggle-2"]:checked + .sx{
- right:60%;
- transition: right 1s cubic-bezier(.17,.84,.44,1);
- }
- input[id="toggle-2"]:checked + label + #about {
- transition: right 1s cubic-bezier(.17,.84,.44,1);
- right:0em;
- }
- label + h5{
- top: 0;
- right: 1.4em;
- position: fixed;
- margin: 0.7em 0 0 0em;
- padding: 0;
- font-size: 1em;
- }
- .text
- {
- max-width: auto;
- margin: 3em auto;
- padding-right: 2.5em;
- width: 42em;
- height: 45%;
- }
- .accordion-title{
- margin: 0.1em 0.5em 0 0.5em;
- }
- .accordion-strip{
- padding: 2em 8em 0 6em;
- }
- .accordion-strip > a > h3{
- margin-top:1em;
- }
- #ring-wrapper{
- bottom: 5.5em;
- position: absolute;
- width: 100%;
- }
- #logo > div{
- margin-left: 1em;
- }
- #news
- {
- display: flex;
- margin: 0 17em 0 4em;
- }
- #news-wrapper{
- }
- #pd-ring > table{
- margin:auto;
- }
- #now-playing > h2, #now-playing > h3{
- background: none;
- border:solid 1pt black;
- flex:1 1 100%;
- padding-left:1em;
- padding-right:1em;
- margin-bottom: 0;
- margin-top: 1em;
- }
- audio {
- background-color:#000000;
- }
- .pd_ring {
- width:260px;
- height:75px;
- background-color:"#FFFFFF";
- }
- .pd_ringnext {
- width:55px;
- height:25px;
- vertical-align:middle;
- border:none;
- }
- .pd_ringlist {
- width: 62px;
- height: 25px;
- vertical-align:middle;
- border:none;
- }
- .pd_ringrandom {
- width:63px;
- height:25px;
- vertical-align:middle;
- border:none;
- }
- .pd_ringprevious {
- width:80px;
- height:25px;
- vertical-align:middle;
- border:none;
- }
- .pd_ringinfo {
- width:260px;
- height:50px;
- vertical-align:middle;
- border:none;
- }
- }
- @media screen and (min-height: 701px) {
- .text{
- height:45%;
- }
- }
- @media screen and (max-height: 700){
- .text{
- height:65%;
- }
- }
|