stile.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. /*=======================COMUNE=====================*/
  2. html{
  3. width: 100%;
  4. height: 100%;
  5. }
  6. body {
  7. margin:0;
  8. font-family: monospace;
  9. }
  10. article:not(:target){
  11. display: none;
  12. }
  13. article{
  14. height: 100%;
  15. }
  16. #about{
  17. background: transparent;
  18. z-index: 10;
  19. /*
  20. border-left:solid 1em white;
  21. */
  22. transition: border-left 3s ease-in 4s;
  23. }
  24. #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
  25. {
  26. display:block;
  27. }
  28. #radio-wrapper{
  29. width:100%;
  30. /*margin: 0.5em 0 1.5em -3.7em;
  31. allineare il player con info-wrapper*/
  32. margin: 0.5em 0 1.5em 0em;
  33. justify-content: center;
  34. }
  35. #now-playing{
  36. margin: auto;
  37. width: 100%;
  38. }
  39. .text
  40. {
  41. display:none;
  42. color:#333333;
  43. line-height: 1.5em;
  44. overflow-y: scroll;
  45. overflow-x: hidden;
  46. }
  47. .pd-style{
  48. background:white;
  49. border: solid 0.12em black;
  50. position: relative;
  51. }
  52. h3.pd-style{
  53. }
  54. .pdlet{
  55. }
  56. .pd-style::before{
  57. content: " ";
  58. display: block;
  59. position: absolute;
  60. background: black;
  61. width: 2em;
  62. height: 0.4em;
  63. }
  64. .pd-style::after{
  65. content: " ";
  66. display: block;
  67. position: absolute;
  68. background: black;
  69. width: 2em;
  70. height: 0.4em;
  71. bottom:0;
  72. }
  73. .text-wrapper{
  74. height:100%;
  75. }
  76. .text-wrapper > article{
  77. margin: 0;
  78. font-size: 1.2em;
  79. }
  80. .accordion-strip > a > h3{
  81. margin: 0;
  82. background: white;
  83. border:0.1em solid black;
  84. color:black;
  85. padding-left:0.4em;
  86. padding-right:0.4em;
  87. }
  88. .accordion-strip{
  89. display: flex;
  90. flex-wrap: wrap;
  91. }
  92. .accordion-title{
  93. text-decoration: none;
  94. display: block;
  95. }
  96. .text
  97. {
  98. }
  99. .cookies{
  100. background:black;
  101. width:100%;
  102. height: 0%;
  103. position: fixed;
  104. text-align: center;
  105. left: 0;
  106. display: flex;
  107. bottom:0;
  108. animation-name: schiacciamento;
  109. animation-duration: 4s;
  110. animation-delay: 0.3s;
  111. animation-fill-mode: forwards;
  112. animation-iteration-count: 1;
  113. }
  114. .cookies > p{
  115. color: white;
  116. animation-name: scomparsa;
  117. animation-duration: 4s;
  118. animation-delay: 0.3s;
  119. }
  120. @keyframes schiacciamento {
  121. 0% {height: 0em;}
  122. 50% {height: 4em;}
  123. 100% {height: 0em;}
  124. }
  125. @keyframes scomparsa {
  126. 0% {color: transparent;}
  127. 20% {color: white;}
  128. 50% {color: white;}
  129. 80% {color: transparent;}
  130. }
  131. /* 1.25 dpr */
  132. @media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){
  133. html{
  134. font-size:1.7em;
  135. }
  136. }
  137. @media screen and (max-width: 700px) {
  138. .accordion-strip{
  139. right: 0;
  140. border-top: 0.1em solid black;
  141. }
  142. .accordion-strip > a > h3{
  143. margin-top:0em;
  144. }
  145. #about{
  146. bottom:0 !important;
  147. }
  148. }
  149. @media screen and (max-width: 999px) {
  150. body{
  151. justify-content: center;
  152. flex-wrap: wrap;
  153. display: flex;
  154. }
  155. main{
  156. position: relative;
  157. width: 100%;
  158. max-width: 45em;
  159. padding-bottom: 4em;
  160. }
  161. aside{
  162. }
  163. nav {
  164. flex-wrap: wrap;
  165. position: relative;
  166. padding:2em;
  167. }
  168. p{
  169. max-width: 40em;
  170. }
  171. #about{
  172. padding-right: 1em;
  173. }
  174. #logo{
  175. height:7em;
  176. flex: 1 1 100%;
  177. }
  178. #logo > div{
  179. margin: auto;
  180. }
  181. #info-wrapper{
  182. padding: 0 1em 0 1em;
  183. }
  184. #description-wrapper{
  185. padding: 0 1em 0.5em 1em;
  186. }
  187. #ring-wrapper{
  188. position:absolute;
  189. bottom:10em;
  190. justify-content:center;
  191. width:100%;
  192. padding-bottom:2em;
  193. padding-top:2em;
  194. display:flex;
  195. flex:1 1 100%;"
  196. }
  197. #radio-info{
  198. display: flex;
  199. flex-wrap: wrap;
  200. }
  201. .accordion-strip{
  202. bottom: 0;
  203. position: absolute;
  204. margin-top: 5em;
  205. }
  206. .accordion-title{
  207. flex: 1 1 auto;
  208. }
  209. .info-wrapper {
  210. padding:1em;
  211. }
  212. .text{
  213. }
  214. .text > *{
  215. max-width: 35em;
  216. padding: 0 5% 0 1%;
  217. list-style-type: none;
  218. }
  219. .text-wrapper{
  220. padding: 1em 1em 19em 1em;
  221. overflow:hidden;
  222. }
  223. .text-wrapper > article{
  224. padding: 0;
  225. width: 116%;
  226. }
  227. }
  228. @media screen and (min-width: 1000px) {
  229. nav {
  230. -moz-box-shadow: 0 0 10px #000000;
  231. -webkit-box-shadow: 0 0 10px #000000;
  232. box-shadow: 0 0 10px #000000;
  233. flex: 1 1 100%;
  234. height:7em;
  235. display: flex;position: fixed;
  236. width: 100%;
  237. background: white;
  238. z-index: 20;
  239. }
  240. main {
  241. padding-left: 5em;
  242. padding-top: 2em;
  243. }
  244. article{
  245. overflow: hidden;
  246. width: 43em;
  247. }
  248. .text-wrapper{
  249. display: flex;
  250. flex-wrap: wrap;
  251. justify-content: center;
  252. }
  253. #radio-info{
  254. max-width: 30em;
  255. }
  256. #now-playing{
  257. }
  258. #piece-text
  259. {
  260. border: solid 1px black;
  261. width:100%;
  262. }
  263. #radio-column{
  264. flex: 0 1 18%;
  265. padding-top:5em;
  266. }
  267. #piece-text > h3{
  268. padding-left: 1em;
  269. padding-right: 1em;
  270. }
  271. #description-wrapper{
  272. width: 23em;
  273. margin: 0 0 0 1em;
  274. }
  275. #about{
  276. height: 100vh;
  277. /* right: -61%; */
  278. /* ====================== */
  279. right:0;
  280. opacity: 0;
  281. transition: opacity 1.5s cubic-bezier(.17,.84,.44,1);
  282. /* ====================== */
  283. max-width: 60%;
  284. position: fixed;
  285. z-index: 33 !important;
  286. padding: 0 0 0 1%;
  287. top:0;
  288. transition: right 1s cubic-bezier(.17,.84,.44,1);
  289. }
  290. .about-bar{
  291. position: fixed;
  292. right: 0em;
  293. height: 100%;
  294. width: 1em;
  295. top: 0;
  296. display: inline-block;
  297. z-index: 43;
  298. transition: right 1s cubic-bezier(.17,.84,.44,1);
  299. }
  300. input[type=checkbox]:checked + label + h5 + #about{
  301. /*
  302. right:0em;
  303. border-left: solid 1em black;
  304. transition: border-left 3s ease-in;
  305. transition: right 1s cubic-bezier(.17,.84,.44,1);
  306. */
  307. opacity:1;
  308. transition: opacity 1.5s cubic-bezier(.17,.84,.44,1);
  309. }
  310. input[type=checkbox]:not(:checked) + label + h5 + #about{
  311. /*
  312. right:0em;
  313. border-left: solid 1em black;
  314. transition: border-left 3s ease-in;
  315. transition: right 1s cubic-bezier(.17,.84,.44,1);
  316. */
  317. opacity:0;
  318. transition: opacity 0.6s linear 0.1s;
  319. }
  320. input[type=checkbox]:active + .bang::after{
  321. background: black;
  322. }
  323. .bang{
  324. position: fixed;
  325. border: solid 1pt black;
  326. top: 0;
  327. /* right: 4em;*/
  328. right: 1em;
  329. width: 1.6em;
  330. height: 1.6em;
  331. padding: 0;
  332. margin: 0.4em 0.4em 0;
  333. z-index: 60;
  334. }
  335. .bang::after{
  336. width: 0;
  337. height: 0;
  338. border-left: 0.8em solid transparent;
  339. border-right: 0.8em solid transparent;
  340. border-top: black;
  341. position: absolute;
  342. content: "";
  343. left: -0.8em;
  344. background: white;
  345. padding-left: 0.8em;
  346. padding-bottom: 1.6em;
  347. padding-right: 0.8em;
  348. border-radius: 1em;
  349. border: solid 1pt black;
  350. margin-left: 0.7em;
  351. top: -0.1em;
  352. }
  353. input[type=reset]:active{
  354. /* the reset button when mouse-down */
  355. }
  356. .dx{
  357. background-color: aquamarine;
  358. }
  359. input[type="radio"]:checked + #about{
  360. right:0;
  361. transition: right 1s cubic-bezier(.17,.84,.44,1);
  362. }
  363. .sx{
  364. background-color: black;
  365. }
  366. input[id="toggle-2"]:checked + .sx{
  367. right:60%;
  368. transition: right 1s cubic-bezier(.17,.84,.44,1);
  369. }
  370. input[id="toggle-2"]:checked + label + #about {
  371. transition: right 1s cubic-bezier(.17,.84,.44,1);
  372. right:0em;
  373. }
  374. label + h5{
  375. top: 0;
  376. right: 1.4em;
  377. position: fixed;
  378. margin: 0.7em 0 0 0em;
  379. padding: 0;
  380. font-size: 1em;
  381. }
  382. .text
  383. {
  384. max-width: auto;
  385. margin: 3em auto;
  386. padding-right: 2.5em;
  387. width: 42em;
  388. height: 45%;
  389. }
  390. .accordion-title{
  391. margin: 0.1em 0.5em 0 0.5em;
  392. }
  393. .accordion-strip{
  394. padding: 2em 8em 0 6em;
  395. }
  396. .accordion-strip > a > h3{
  397. margin-top:1em;
  398. }
  399. #ring-wrapper{
  400. bottom: 5.5em;
  401. position: absolute;
  402. width: 100%;
  403. }
  404. #logo > div{
  405. margin-left: 1em;
  406. }
  407. #news
  408. {
  409. display: flex;
  410. margin: 0 17em 0 4em;
  411. }
  412. #news-wrapper{
  413. }
  414. #pd-ring > table{
  415. margin:auto;
  416. }
  417. #now-playing > h2, #now-playing > h3{
  418. background: none;
  419. border:solid 1pt black;
  420. flex:1 1 100%;
  421. padding-left:1em;
  422. padding-right:1em;
  423. margin-bottom: 0;
  424. margin-top: 1em;
  425. }
  426. audio {
  427. background-color:#000000;
  428. }
  429. .pd_ring {
  430. width:260px;
  431. height:75px;
  432. background-color:"#FFFFFF";
  433. }
  434. .pd_ringnext {
  435. width:55px;
  436. height:25px;
  437. vertical-align:middle;
  438. border:none;
  439. }
  440. .pd_ringlist {
  441. width: 62px;
  442. height: 25px;
  443. vertical-align:middle;
  444. border:none;
  445. }
  446. .pd_ringrandom {
  447. width:63px;
  448. height:25px;
  449. vertical-align:middle;
  450. border:none;
  451. }
  452. .pd_ringprevious {
  453. width:80px;
  454. height:25px;
  455. vertical-align:middle;
  456. border:none;
  457. }
  458. .pd_ringinfo {
  459. width:260px;
  460. height:50px;
  461. vertical-align:middle;
  462. border:none;
  463. }
  464. }
  465. @media screen and (min-height: 701px) {
  466. .text{
  467. height:45%;
  468. }
  469. }
  470. @media screen and (max-height: 700){
  471. .text{
  472. height:65%;
  473. }
  474. }