stile-mobile.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. @media screen and (max-width: 700px) {
  2. .accordion-strip{
  3. right: 0;
  4. position: absolute;
  5. }
  6. .accordion-strip > a > h3{
  7. margin-top:0em;
  8. }
  9. #about{
  10. bottom:0 !important;
  11. }
  12. }
  13. @media screen and (max-width: 999px) {
  14. body{
  15. position: relative;
  16. }
  17. main{
  18. position: relative;
  19. }
  20. aside{
  21. }
  22. nav {
  23. flex-wrap: wrap;
  24. position: relative;
  25. padding:2em;
  26. }
  27. #logo{
  28. display: flex;
  29. flex-wrap: wrap;
  30. }
  31. #logo > div{
  32. margin: auto;
  33. }
  34. #radio-player{
  35. display: flex;
  36. flex-wrap: wrap;
  37. }
  38. .accordion-strip{
  39. bottom: 0;
  40. position: absolute;
  41. margin-top: 5em;
  42. }
  43. .accordion-title{
  44. flex: 1 1 auto;
  45. }
  46. .text-wrapper{
  47. height: 100vh;
  48. padding: 0 2em;
  49. }
  50. }
  51. @media screen and (min-width: 1000px) {
  52. nav {
  53. -moz-box-shadow: 0 0 10px #000000;
  54. -webkit-box-shadow: 0 0 10px #000000;
  55. box-shadow: 0 0 10px #000000;
  56. flex: 1 1 100%;
  57. height:7em;
  58. display: flex;position: fixed;
  59. width: 100%;
  60. background: white;
  61. z-index: 20;
  62. }
  63. main{
  64. width: 100%;
  65. height: 100%;
  66. height: 87em;
  67. display: flex;
  68. justify-content: left;
  69. padding-top:7em;
  70. }
  71. #radio-player{
  72. position: relative;
  73. flex:0 1 50%;
  74. display: flex;
  75. flex-wrap: wrap;
  76. align-content: flex-start;
  77. padding: 5em 5em 5em 0;
  78. }
  79. #now-playing{
  80. width: 100%;
  81. display: flex;
  82. flex-wrap: wrap;
  83. justify-content: space-between;
  84. align-content: flex-start;
  85. padding: 0 4em 0 4em;
  86. }
  87. #piece-text
  88. {
  89. border: solid 1px black;
  90. width:100%;
  91. }
  92. #social{
  93. flex: 0 1 18%;
  94. padding-top:5em;
  95. }
  96. #connected-people{
  97. display: flex;
  98. flex-wrap: wrap;
  99. justify-content: space-between;
  100. border: solid 1px black;
  101. height: 13em;
  102. margin-bottom: 3em;
  103. }
  104. #piece-text > h3{
  105. padding-left: 1em;
  106. padding-right: 1em;
  107. }
  108. #piece-text > p{
  109. width: 70%;
  110. margin: auto;
  111. margin-bottom: 3em;
  112. }
  113. #about{
  114. height: 100vh;
  115. right: -60%;
  116. max-width: 60%;
  117. position: fixed;
  118. z-index: 33 !important;
  119. padding: 0 0 0 1%;
  120. }
  121. #about:hover{
  122. animation-name: tendina;
  123. animation-duration: 1s;
  124. animation-fill-mode: forwards;
  125. animation-timing-function: cubic-bezier(.17,.84,.44,1);
  126. column-fill:auto;
  127. }
  128. .text-wrapper{
  129. width: 80%;
  130. }
  131. .text
  132. {
  133. max-width: auto;
  134. margin: 2em auto;
  135. border-right: solid black 0.3em;
  136. padding-right: 2.5em;
  137. column-count: 2;
  138. column-fill: auto;
  139. width:100%;
  140. max-height: 30em;
  141. }
  142. .accordion-title{
  143. margin: 1em 0.5em 0 0.5em;
  144. }
  145. .accordion-strip{
  146. }
  147. .accordion-strip > a > h3{
  148. margin-top:1em;
  149. }
  150. /*
  151. #about:hover > .cookies{
  152. right: 0em;
  153. width: 40%;
  154. font-size: 0.8em;
  155. }
  156. */
  157. #logo{
  158. margin: auto;
  159. flex: 1 1 auto;
  160. }
  161. #logo > div{
  162. margin-left: 1em;
  163. }
  164. #news
  165. {
  166. display: flex;
  167. margin: 0 17em 0 4em;
  168. }
  169. .cookies{
  170. bottom: 0;
  171. }
  172. #pd-ring{
  173. position: absolute;
  174. bottom: 2em;
  175. width: 100%;
  176. }
  177. #pd-ring > table{
  178. margin:auto;
  179. }
  180. @keyframes tendina {
  181. 0% {right: -60%;}
  182. 100% {right: 0;}
  183. }
  184. @keyframes schiacciamento {
  185. 0% {height: 0em;}
  186. 50% {height: 4em;}
  187. 100% {height: 0em;}
  188. }
  189. @keyframes scomparsa {
  190. 0% {color: transparent;}
  191. 20% {color: white;}
  192. 50% {color: white;}
  193. 80% {color: transparent;}
  194. }
  195. h1 {
  196. background-color:#ffffff;
  197. font:36px mono;
  198. font-weight:bold;
  199. color:#000000;
  200. text-decoration:none;
  201. margin-left:10%;
  202. margin-right:10%;
  203. }
  204. #now-playing > h2, #now-playing > h3{
  205. background: none;
  206. border:solid 1pt black;
  207. flex:1 1 100%;
  208. padding-left:1em;
  209. padding-right:1em;
  210. margin-bottom: 0;
  211. margin-top: 1em;
  212. }
  213. #piece-text{
  214. margin-bottom: 0;
  215. margin-top: 1em;
  216. }
  217. a.logo:link {
  218. color:#000000;
  219. text-decoration:none;
  220. }
  221. a.logo:visited {
  222. color:#000000;
  223. text-decoration:none;
  224. }
  225. a.logo:hover {
  226. color:#f1b2b7;
  227. text-decoration:underline;
  228. }
  229. a.logo:active {
  230. color:#ffffff;
  231. background-color:#ffffff;
  232. text-decoration:none;
  233. }
  234. a.corpo:link {
  235. color:#000000;
  236. text-decoration:underline;
  237. }
  238. a.corpo:visited {
  239. color:#000000;
  240. text-decoration:underline;
  241. }
  242. a.corpo:hover {
  243. color:#f1b2b7;
  244. text-decoration:none;
  245. }
  246. a.corpo:active {
  247. color:#ffffff;
  248. background-color:#ffffff;
  249. text-decoration:none;
  250. }
  251. a.barra:link {
  252. color:#000000;
  253. text-decoration:underline;
  254. }
  255. a.barra:visited {
  256. color:#000000;
  257. text-decoration:underline;
  258. }
  259. a.barra:hover {
  260. color:#f1b2b7;
  261. background-color:#ffffff;
  262. text-decoration:none;
  263. }
  264. a.barra:active {
  265. color:#ffffff;
  266. background-color:#ffffff;
  267. text-decoration:none;
  268. }
  269. audio {
  270. background-color:#000000;
  271. }
  272. .pd_ring {
  273. width:260px;
  274. height:75px;
  275. background-color:"#FFFFFF";
  276. }
  277. .pd_ringnext {
  278. width:55px;
  279. height:25px;
  280. vertical-align:middle;
  281. border:none;
  282. }
  283. .pd_ringlist {
  284. width: 62px;
  285. height: 25px;
  286. vertical-align:middle;
  287. border:none;
  288. }
  289. .pd_ringrandom {
  290. width:63px;
  291. height:25px;
  292. vertical-align:middle;
  293. border:none;
  294. }
  295. .pd_ringprevious {
  296. width:80px;
  297. height:25px;
  298. vertical-align:middle;
  299. border:none;
  300. }
  301. .pd_ringinfo {
  302. width:260px;
  303. height:50px;
  304. vertical-align:middle;
  305. border:none;
  306. }
  307. }
  308. /*=======================COMUNE=====================*/
  309. html{
  310. width: 100%;
  311. height: 100%;
  312. }
  313. body {
  314. margin:0;
  315. font-family: monospace;
  316. width: 100%;
  317. height:100%;
  318. height: 100vh;
  319. }
  320. #about{
  321. background: #333333;
  322. z-index: 10;
  323. }
  324. #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
  325. {
  326. display:block;
  327. }
  328. .text-wrapper > article{
  329. margin: 0;
  330. font-size: 1.2em;
  331. }
  332. .accordion-strip > a > h3{
  333. margin: 0;
  334. background: white;
  335. border:0.1em solid black;
  336. color:black;
  337. padding-left:1em;
  338. padding-right:1em;
  339. }
  340. .accordion-strip{
  341. display: flex;
  342. flex-wrap: wrap;
  343. }
  344. .accordion-title{
  345. text-decoration: none;
  346. display: block;
  347. }
  348. .text
  349. {
  350. display:none;
  351. color:white;
  352. line-height: 1.5em;
  353. max-height: 30em;
  354. overflow: scroll;
  355. }
  356. .cookies{
  357. background:black;
  358. width:100%;
  359. height: 0%;
  360. position: fixed;
  361. text-align: center;
  362. left: 0;
  363. display: flex;
  364. animation-name: schiacciamento;
  365. animation-duration: 4s;
  366. animation-delay: 0.3s;
  367. animation-fill-mode: forwards;
  368. animation-iteration-count: 1;
  369. }
  370. .cookies > p{
  371. color: white;
  372. animation-name: scomparsa;
  373. animation-duration: 4s;
  374. animation-delay: 0.3s;
  375. }