Advertisement
Guest User

Untitled

a guest
Feb 19th, 2021
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.03 KB | None | 0 0
  1. *
  2. {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7.  
  8.  
  9.  
  10. body
  11. {
  12. overflow-x: hidden;
  13. background-color: #480ca8;
  14. font-family: 'Work Sans', sans-serif;
  15. }
  16.  
  17.  
  18. .container-nav-header
  19. {
  20. width: 100vw;
  21. height: 100vh;
  22. }
  23.  
  24.  
  25.  
  26. /*Questa keyframes fa scorrere la nav-bar
  27. da sinistra verso destra al caricamento della pagina*/
  28. @keyframes SlideInFromLeft
  29. {
  30. 0%
  31. {
  32. transform: translateX(-100%);
  33. }
  34.  
  35. 100%
  36. {
  37. transform: translateX(0);
  38. }
  39. }
  40.  
  41.  
  42.  
  43.  
  44. nav
  45. {
  46. width: 100%;
  47. position: fixed;
  48. top: 0;
  49. animation: 1.5s ease-out 0s 1 SlideInFromLeft;
  50. }
  51. /*
  52. |
  53. |
  54. |
  55. */
  56. nav .nav-bar
  57. {
  58. width: 100%;
  59. padding: 6px;
  60. background-color: rgb(121, 82, 179);
  61. display: flex;
  62. justify-content: space-around;
  63. align-items: center;
  64. }
  65. /*
  66. |
  67. |
  68. |
  69. */
  70. /*Questa keyframes apre la navbar responsiva con una animazione*/
  71. @keyframes OpenNavBarResponsive
  72. {
  73. 0%
  74. {
  75. transform: translateY(-100%);
  76. }
  77.  
  78. 100%
  79. {
  80. transform: translateY(0);
  81. }
  82. }
  83. /*
  84. |
  85. |
  86. |
  87. */
  88. /*Questa keyframes chiude la navbar responsiva con una animazione*/
  89. @keyframes CloseNavBarResponsive
  90. {
  91. 0%
  92. {
  93. transform: translateY(0);
  94. }
  95.  
  96. 100%
  97. {
  98. transform: translateY(-100%);
  99. background-color: transparent;
  100. }
  101. }
  102. /*
  103. |
  104. |
  105. |
  106. */
  107. /*Questa classe serve per la chiusura a rallenty della nav,
  108. ma è nascosta all'inizio*/
  109. .for-close-responsive-nav-hidden
  110. {
  111. width: 100%;
  112. height: 173px;
  113. background-color: rgb(121, 82, 179);
  114. position: fixed;
  115. top: 0;
  116. left: 0;
  117. display: none;
  118. }
  119. /*
  120. |
  121. |
  122. |
  123. */
  124. /*Questa classe serve per la chiusura a rallenty della nav,
  125. e viene attivato alla pressione del bottone con la X
  126. in alto a destra e la nav viene chiusa a rallenty*/
  127. .for-close-responsive-nav
  128. {
  129. display: block;
  130. transform:translateY(-100%);
  131. animation: 0.5s ease-out 0s 1 CloseNavBarResponsive;
  132. }
  133. /*
  134. |
  135. |
  136. |
  137. */
  138. /*
  139. |
  140. |
  141. |
  142. */
  143. /*Questa classe permette al bottone che apre e chiude
  144. la nav-bar responsive di restare nascosto finchè la dimensione dello schermo
  145. non diventa troppo piccola e si attiva la media query che fa visualizzare il bottone*/
  146. .nav-bar .resp-nav
  147. {
  148. display: none;
  149. }
  150. /*
  151. |
  152. |
  153. |
  154. */
  155. /*Questa classe attivata dopo che il bottone che apre e chiude
  156. la nav-bar responsive viene premuto permette di visualizzare nuovamente
  157. gli elementi che compongono la nav-bar*/
  158. .nav-bar.responsive .home, .nav-bar.responsive .subscribe,
  159. .nav-bar.responsive .login, .nav-bar.responsive .info, .nav-bar.responsive .search
  160. {
  161. display: block;
  162. }
  163. /*
  164. |
  165. |
  166. |
  167. */
  168. /*Questa classe viene attivata quando il bottone
  169. che apre e chiude la nav-bar responsive viene schiacciato
  170. mette in colonna gli elementi della nav, li allinea al centro e
  171. chiama l'animazione che fa aprire la nav-bar a rallenty*/
  172. nav .nav-bar.responsive
  173. {
  174. width: 100%;
  175. flex-direction: column;
  176. align-items: center;
  177. animation: 0.7s ease-out 0s 1 OpenNavBarResponsive;
  178. }
  179. /*
  180. |
  181. |
  182. |
  183. */
  184. /*Aggiustamenti grafici per le icone della nav bar*/
  185. .nav-bar .login i:before, .nav-bar .subscribe i:before, .nav-bar .home i:before
  186. {
  187. font-size: 1em;
  188. line-height: 1.25;
  189. }
  190. /*
  191. |
  192. |
  193. |
  194. */
  195. /*Aggiustamenti grafici per le icone della nav bar*/
  196. .nav-bar .info i:before
  197. {
  198. font-size: 0.8em;
  199. line-height: 1.4;
  200. }
  201. /*
  202. |
  203. |
  204. |
  205. */
  206. /*Aggiustamenti grafici per la scritta info della nav bar*/
  207. .nav-bar .info span
  208. {
  209. position: relative;
  210. right: 3px;
  211. }
  212. /*
  213. |
  214. |
  215. |
  216. */
  217. /*effetti grafici che aggiustano i link della nav bar*/
  218. .nav-bar .home a,.nav-bar .subscribe a, .nav-bar .login a, .nav-bar .info a
  219. {
  220. font-size: 160%;
  221. text-decoration: none;
  222. color: white;
  223. transition: background-color 1s;/*attivata con :hover*/
  224. transition: font-size 0.3s;/*attivata con :hover*/
  225. }
  226. /*
  227. |
  228. |
  229. |
  230. */
  231. @keyframes ColorHomeBotton
  232. {
  233. 0%
  234. {
  235. border: 2px solid #fae392;
  236. color: #fae392;
  237. }
  238.  
  239.  
  240. 20%
  241. {
  242. border: 2px solid #ff6666;
  243. color: #ff6666;
  244. }
  245.  
  246.  
  247. 80%
  248. {
  249. border: 2px solid #081924;
  250. color:#081924;
  251. }
  252.  
  253.  
  254. 85%
  255. {
  256. border: 2px solid #016628;
  257. color:#016628;
  258. }
  259.  
  260.  
  261. 90%
  262. {
  263. border: 2px solid #9c9a37;
  264. color:#9c9a37;
  265. }
  266.  
  267.  
  268. 95%
  269. {
  270. border: 2px solid #0a1f3a;
  271. color: #0a1f3a;
  272. }
  273.  
  274.  
  275. 100%
  276. {
  277. border: 2px solid #ffe484;
  278. color: #ffe484;
  279. }
  280. }
  281. /*
  282. |
  283. |
  284. |
  285. */
  286. .nav-bar .subscribe a:hover, .nav-bar .login a:hover, .nav-bar .info a:hover
  287. {
  288. border-radius: 8px;
  289. padding: 2px;
  290. font-size: 170%;
  291. border: 2px solid #ffe484;
  292. color: #ffe484;
  293. }
  294. /*
  295. |
  296. |
  297. |
  298. */
  299. .nav-bar .home a
  300. {
  301. border-radius: 8px;
  302. padding: 2px;
  303. border: 2px solid #ffe484;
  304. color: #ffe484;
  305. }
  306. /*
  307. |
  308. |
  309. |
  310. */
  311. .nav-bar .home a:hover
  312. {
  313. color: white;
  314. border-color: white;
  315. border-radius: 8px;
  316. font-size: 180%;
  317. animation: 3.5s ease-out 0s 100000 ColorHomeBotton;
  318. }
  319. /*
  320. |
  321. |
  322. |
  323. */
  324. /*effetti grafici per la barra di ricerca della nav bar*/
  325. .nav-bar .search input
  326. {
  327. border: 2px solid #ffe484;
  328. color: #7209b7;
  329. background-color: white;
  330. border-radius: 5px;
  331. padding: 3px;
  332. font-size: 137%;
  333. transition: background-color 0.7s;/*attivata con :hover*/
  334. }
  335. /*
  336. |
  337. |
  338. |
  339. */
  340. .search .research input:hover
  341. {
  342. background-color: #ffe484;
  343. }
  344. /*
  345. |
  346. |
  347. |
  348. */
  349. /*effetti grafici per il bottone di ricerca della nav bar*/
  350. .nav-bar .search .button-search
  351. {
  352. width: 3.3rem;
  353. border: 3px solid #ffe484;
  354. color: #7209b7;
  355. background-color: white;
  356. border-radius: 5px;
  357. padding: 3px;
  358. font-size: 137%;
  359. cursor: pointer;
  360. transition: background-color 0.7s;/*attivato con hover*/
  361. }
  362. /*
  363. |
  364. |
  365. |
  366. */
  367. .search .research .button-search:hover
  368. {
  369. background-color: #ffe484;
  370. }
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378. /*Header principale della pagina*/
  379.  
  380.  
  381. /*Utilizzo di flex-box per allineare main-text al centro*/
  382. header
  383. {
  384. width: 100%;
  385. height: 100%;
  386. background-image: url("img/background-Home.jpg");
  387. background-size: cover;
  388. background-position: center;
  389. display: flex;
  390. align-items: center;
  391. justify-content: center;
  392. }
  393. /*
  394. |
  395. |
  396. |
  397. */
  398. /*effetti grafici per main-text*/
  399. header .main-text
  400. {
  401. color: black;
  402. background-color: rgba(250, 250, 250, 0.1);
  403. font-family: 'Dancing Script', cursive;
  404. text-align: center;
  405. font-size: 250%;
  406. border: 1px solid rgba(250, 250, 250, 0.1);
  407. border-radius: 10px;
  408. box-shadow: 5px 5px 3px rgba(245, 245, 245, 0.1);
  409. transition: font-size 2s;/*attivato con :hover*/
  410. }
  411. /*
  412. |
  413. |
  414. |
  415. */
  416. header .main-text:hover
  417. {
  418. background-color: rgba(220, 220, 220, 0.2);
  419. font-size: 300%;
  420. }
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427. /*contenuto della pagina*/
  428.  
  429.  
  430. /*form che contiene la barra di ricerca per i corsi gigante
  431. e il rispettivo bottone di ricerca gigante*/
  432. .search-course
  433. {
  434. width: 80%;
  435. margin: 1.5% 10%;
  436. display: flex;
  437. border-radius: 2px;
  438. }
  439. /*
  440. |
  441. |
  442. |
  443. */
  444. /*Questa keyframes permette alla barra di ricerca
  445. per i corsi gigante di aprirsi a rallenty*/
  446. @keyframes SlidInToWidthingYou
  447. {
  448. 0%
  449. {
  450. width: 0%;
  451. }
  452.  
  453. 100%
  454. {
  455. width: 90%;
  456. }
  457. }
  458. /*
  459. |
  460. |
  461. |
  462. */
  463. /*effetti grafici per la barra di ricerca
  464. per i corsi gigante*/
  465. .search-course input
  466. {
  467. color: #343a40;
  468. height: 5rem;
  469. width: 90%;
  470. font-size: 3rem;
  471. border: 3px solid #ffe484;
  472. border-right: none;
  473. transition: background-color 0.7s;
  474. animation: 1.5s ease-out 1s 1 SlidInToWidthingYou;
  475. }
  476. /*
  477. |
  478. |
  479. |
  480. */
  481. /*effetti grafici per il bottone
  482. di ricerca per i corsi gigante*/
  483. .search-course button
  484. {
  485. height: 5rem;
  486. width: 10%;
  487. font-size: 3rem;
  488. border: none;
  489. background-color: white;
  490. color: #343a40;
  491. cursor: pointer;
  492. border: 3px solid #ffe484;
  493. border-left: none;
  494. transition: background-color 0.7s;/*attivato con :hover*/
  495. }
  496. /*
  497. |
  498. |
  499. |
  500. */
  501. .search-course input:hover, .search-course button:hover
  502. {
  503. background-color: #ffe484;
  504. }
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511. /*Riferimenti(Sono i bottoni in nero)*/
  512.  
  513. /*Uso flex-box per disporre in orizzontale gli elementi*/
  514. .container-references
  515. {
  516. display: flex;
  517. background-color: #480ca8;
  518. }
  519. /*
  520. |
  521. |
  522. |
  523. */
  524. /*uso flex-box per disporre in colonna i bottoni neri*/
  525. .references
  526. {
  527. display: flex;
  528. flex-direction: column;
  529. list-style: none;
  530. font-size: 1.2rem;
  531. }
  532. /*
  533. |
  534. |
  535. |
  536. */
  537. /*Aggiustamenti grafici dei bottoni neri*/
  538. .references li
  539. {
  540. background-color: #343a40;
  541. display: flex;
  542. align-items: center;
  543. justify-content: center;
  544. width: 220px;
  545. padding: 20px;
  546. margin: 15px 4px;
  547. transition: box-shadow 1s;/*attivato con :hover*/
  548. transition: font-size 1s;/*attivato con :hover*/
  549. }
  550. /*
  551. |
  552. |
  553. |
  554. */
  555. .references li:hover
  556. {
  557. font-size: 1.4rem;
  558. box-shadow: 2px 8px 8px #424446;
  559. }
  560. /*
  561. |
  562. |
  563. |
  564. */
  565. /*Aggiustamenti grafici ai link delle li*/
  566. .references a
  567. {
  568. text-decoration: none;
  569. font-weight: 900;
  570. color: white;
  571. text-transform: uppercase;
  572. }
  573.  
  574.  
  575.  
  576.  
  577.  
  578. /*Aggiustamenti grafici alla li*/
  579. .Description
  580. {
  581. border: 4px solid #343a40;
  582. color: #343a40;
  583. font-size: 1rem;
  584. font-weight: 500;
  585. margin: 25px 15px 0px 15px;
  586. margin-bottom: 22px;
  587. padding: 5px;
  588. list-style: none;
  589. background-color: white;
  590. }
  591. /*
  592. |
  593. |
  594. |
  595. */
  596. /*aggiustamento grafico*/
  597. .Description.one
  598. {
  599. margin-top: 13px;
  600. }
  601. /*
  602. |
  603. |
  604. |
  605. */
  606. /*aggiustamento grafico*/
  607. .Description a
  608. {
  609. color: #343a40;
  610. font-weight: 900;
  611. font-size: 1.5rem;
  612. text-transform: uppercase;
  613. }
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620. /*Contiene l'immagine della DAD*/
  621. .Info-DAD
  622. {
  623. background-image: url("img/Info-DAD.jpg");
  624. background-position: center;
  625. background-repeat: no-repeat;
  626. background-size: cover;
  627. width: 40%;
  628. height: 445px;
  629. margin-top: 10px;
  630. border: 5px solid #343a40;
  631. border-radius: 5px;
  632. display: flex;
  633. align-items: flex-start;
  634. justify-content: center;
  635. }
  636. /*
  637. |
  638. |
  639. |
  640. */
  641. /*aggiustamento grafico*/
  642. .Info-DAD a
  643. {
  644. font-size: 2rem;
  645. font-weight: 900;
  646. color: black;
  647. text-transform: uppercase;
  648. padding: 6px;
  649. }
  650. /*
  651. |
  652. |
  653. |
  654. */
  655. .Info-DAD svg
  656. {
  657. width: 30px;
  658. }
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665. .Events
  666. {
  667. background-color: #3330e9;
  668. padding: 3px;
  669. color: #5a189a;
  670. }
  671. /*
  672. |
  673. |
  674. |
  675. */
  676. @keyframes SlideInToFillTitle
  677. {
  678. 0%
  679. {
  680. width: 0%;
  681. }
  682.  
  683. 50%
  684. {
  685. width: 80%;
  686. background-color: white;
  687. border: 3px solid #7209b7;
  688. }
  689. }
  690. /*
  691. |
  692. |
  693. |
  694. */
  695. .container-phrase-EVENTI
  696. {
  697. color: #7209b7;
  698. border: 3px solid #7209b7;
  699. padding: 20px;
  700. margin: 3% 10%;
  701. background-color: white;
  702. width: 80%;
  703. }
  704. /*
  705. |
  706. |
  707. |
  708. */
  709. .container-phrase-EVENTI span
  710. {
  711. font-size: 3rem;
  712. width: 40%;
  713. }
  714. /*
  715. |
  716. |
  717. |
  718. */
  719. .container-phrase-EVENTI hr
  720. {
  721. width: 100%;
  722. height: 3px;
  723. background-color: #7209b7;
  724. border: none;
  725. }
  726. /*
  727. |
  728. |
  729. |
  730. */
  731. .events
  732. {
  733. display: flex;
  734. justify-content: space-around;
  735. flex-wrap: wrap;
  736. color: #343a40;
  737. font-weight: 400;
  738. }
  739. /*
  740. |
  741. |
  742. |
  743. */
  744. .events .event
  745. {
  746. width: 250px;
  747. display: flex;
  748. justify-content: center;
  749. font-size: 1rem;
  750. color: #343a40;
  751. font-family: 'Noto Sans', sans-serif;
  752. background-color: white;
  753. padding: 10px;
  754. margin: 3px;
  755. }
  756. /*
  757. |
  758. |
  759. |
  760. */
  761. .event .date
  762. {
  763. font-size: 2rem;
  764. font-weight: 800;
  765. color: #5a189a;
  766. }
  767. /*
  768. |
  769. |
  770. |
  771. */
  772. .event .hour
  773. {
  774. color: #5a189a;
  775. font-size: 1rem;
  776. }
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784. /*footer*/
  785.  
  786.  
  787. footer
  788. {
  789. background-color: rgb(94, 45, 167);
  790. }
  791.  
  792. .container-link-footer
  793. {
  794. width: 100%;
  795. display: flex;
  796. flex-wrap: wrap;
  797. justify-content: center;
  798. padding: 25px;
  799. font-size: 1.2rem;
  800. }
  801.  
  802.  
  803.  
  804.  
  805. .structures, .services, .competition, .option-footer
  806. {
  807. width: 280px;
  808. display: flex;
  809. flex-direction: column;
  810. list-style-type: none;
  811. padding: 10px;
  812. margin: 15px;
  813. }
  814.  
  815.  
  816.  
  817.  
  818. .services a, .structures a, .competition a, .option-footer a
  819. {
  820. color: white;
  821. text-decoration: none;
  822. font-weight: 500;
  823. }
  824.  
  825.  
  826.  
  827.  
  828. .STRUCTURES a, .SERVICES a, .COMPETITION a
  829. {
  830. font-weight: bold;
  831. color: #18191a;
  832. font-size: 2.2rem;
  833. text-decoration: none;
  834. }
  835.  
  836.  
  837.  
  838.  
  839. .option-footer li:nth-of-type(odd)
  840. {
  841. background-color: #31a56d;
  842. }
  843.  
  844.  
  845.  
  846.  
  847.  
  848. .option-footer li:nth-of-type(even)
  849. {
  850. background-color: #c0dd3f;
  851. }
  852.  
  853.  
  854.  
  855.  
  856. .option-footer a:nth-of-type(odd)
  857. {
  858. color: #c0dd3f;
  859. }
  860.  
  861.  
  862.  
  863.  
  864.  
  865. .option-footer li:nth-child(2) a,
  866. .option-footer li:nth-child(4) a
  867. {
  868. color:#31a56d;
  869. }
  870.  
  871.  
  872.  
  873.  
  874. @keyframes MoveShadow
  875. {
  876.  
  877. 0%
  878. {
  879. box-shadow: -2px 26px 26px #18191a;
  880. }
  881.  
  882.  
  883.  
  884. 25%
  885. {
  886. box-shadow: 3px 35px 35px #18191a;
  887. }
  888.  
  889.  
  890. 50%
  891. {
  892. box-shadow: -5px 26px 26px #18191a;
  893. }
  894.  
  895.  
  896. 100%
  897. {
  898. box-shadow: -2px 26px 26px #18191a;
  899. }
  900.  
  901.  
  902. /* 2%
  903. {
  904. box-shadow: -2px 25px 25px #18191a;
  905. }
  906.  
  907.  
  908. 3%
  909. {
  910. box-shadow: -1px 26px 26px #18191a;
  911. }
  912.  
  913.  
  914. 4%
  915. {
  916. box-shadow: 0px 27px 27px #18191a;
  917. }
  918.  
  919. 5%
  920. {
  921. box-shadow: 1px 28px 28px #18191a;
  922. }
  923.  
  924.  
  925. 10%
  926. {
  927. box-shadow: 2px 29px 29px #18191a;
  928. }
  929.  
  930.  
  931. 20%
  932. {
  933. box-shadow: 6px 34px 34px #18191a;
  934. }
  935.  
  936.  
  937. 30%
  938. {
  939. box-shadow: 4px 31px 31px #18191a;
  940. }
  941.  
  942.  
  943. 40%
  944. {
  945. box-shadow: 5px 32px 32px #18191a;
  946. }
  947.  
  948.  
  949. 50%
  950. {
  951. box-shadow: 8px 37px 37px #18191a;
  952. }
  953.  
  954.  
  955. 60%
  956. {
  957. box-shadow: 5px 32px 32px #18191a;
  958. }
  959.  
  960.  
  961. 70%
  962. {
  963. box-shadow: 7px 36px 36px #18191a;
  964. }
  965.  
  966. 75%
  967. {
  968. box-shadow: 3px 30px 30px #18191a;
  969. }
  970.  
  971.  
  972. 80%
  973. {
  974. box-shadow: 2px 29px 29px #18191a;
  975. }
  976.  
  977. 85%
  978. {
  979. box-shadow: 6px 35px 35px #18191a;
  980. }
  981.  
  982.  
  983. 90%
  984. {
  985. box-shadow: 0px 27px 27px #18191a;
  986. }
  987.  
  988.  
  989. 95%
  990. {
  991. box-shadow: -1px 26px 26px #18191a;
  992. }
  993.  
  994.  
  995. 100%
  996. {
  997. box-shadow: -2px 25px 25px #18191a;
  998. } */
  999. }
  1000.  
  1001.  
  1002.  
  1003.  
  1004. .option-footer li
  1005. {
  1006. border: 3px solid #18191a;
  1007. padding: 8px;
  1008. margin-bottom: 30px;
  1009. box-shadow: -2px 26px 26px #18191a;
  1010. /*transition: box-shadow 0.3s;*/
  1011. animation: 4s ease-out 0s 1000000 MoveShadow;
  1012. }
  1013.  
  1014.  
  1015.  
  1016.  
  1017. /*
  1018. .option-footer li:hover
  1019. {
  1020. font-size: 1.3rem;
  1021. box-shadow: 6px 6px 16px #18191a;
  1022. }
  1023. */
  1024.  
  1025.  
  1026.  
  1027. .social-and-contact
  1028. {
  1029. width: 100%;
  1030. display: flex;
  1031. justify-content: center;
  1032. align-items: center;
  1033. font-size: 102%;
  1034. position: relative;
  1035. bottom: 15px;
  1036. }
  1037.  
  1038.  
  1039.  
  1040.  
  1041. .social
  1042. {
  1043. display: flex;
  1044. }
  1045.  
  1046.  
  1047.  
  1048.  
  1049. .social li
  1050. {
  1051. list-style: none;
  1052. padding: 5px;
  1053. }
  1054.  
  1055.  
  1056.  
  1057.  
  1058. .social a
  1059. {
  1060. text-decoration: none;
  1061. color: #0e062e;
  1062. }
  1063.  
  1064.  
  1065.  
  1066.  
  1067. .contact
  1068. {
  1069. display: flex;
  1070. align-items: center;
  1071. justify-content: center;
  1072. flex-wrap: wrap;
  1073. font-weight: 700;
  1074. color: #0e062e;
  1075. }
  1076.  
  1077.  
  1078.  
  1079.  
  1080. .contact li
  1081. {
  1082. list-style-type: none;
  1083. padding: 8px;
  1084. }
  1085.  
  1086.  
  1087.  
  1088. @media only screen and (max-width: 1200px)
  1089. {
  1090. header .main-text
  1091. {
  1092. background-color: rgba(220, 220, 220, 0.2);
  1093. font-size: 170%;
  1094. }
  1095.  
  1096. header .main-text:hover
  1097. {
  1098. background-color: rgba(220, 220, 220, 0.2);
  1099. font-size: 200%;
  1100. }
  1101. }
  1102.  
  1103.  
  1104.  
  1105. /*media queries & keyframes*/
  1106.  
  1107. @media only screen and (max-width: 1100px)
  1108. {
  1109. .Description-references
  1110. {
  1111. display: flex;
  1112. flex-direction: column;
  1113. align-items: center;
  1114. }
  1115.  
  1116. .references
  1117. {
  1118. flex-direction: row;
  1119. flex-wrap: wrap;
  1120. justify-content: center;
  1121. }
  1122.  
  1123. .container-references
  1124. {
  1125. flex-direction: column;
  1126. align-items: center;
  1127. }
  1128.  
  1129. .Info-DAD
  1130. {
  1131. width: 70%;
  1132. }
  1133. }
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142. /*Questa media query permette il funionamento della nav-bar responsiva */
  1143. @media only screen and (max-width: 950px)
  1144. {
  1145. .nav-bar .login, .nav-bar .subscribe,
  1146. .nav-bar .info, .nav-bar .search
  1147. {
  1148. display: none;
  1149. }
  1150.  
  1151.  
  1152. .nav-bar
  1153. {
  1154. justify-content: flex-start!important;
  1155. position: relative;
  1156. }
  1157.  
  1158.  
  1159. .nav-bar .resp-nav
  1160. {
  1161. display: inline-block;
  1162. position: absolute;
  1163. top: 3px;
  1164. right:17px;
  1165. }
  1166.  
  1167.  
  1168. .nav-bar .resp-nav i
  1169. {
  1170. font-size: 2.2em;
  1171. color: white;
  1172. }
  1173.  
  1174.  
  1175. .search-course
  1176. {
  1177. width: 75%;
  1178. margin: 1.5% 12.5%;
  1179. }
  1180.  
  1181.  
  1182. .search-course .input, .search-course button
  1183. {
  1184. font-size: 2rem;
  1185. }
  1186. }
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192. @media only screen and (max-width: 800px)
  1193. {
  1194. header .main-text
  1195. {
  1196. background-color: rgba(220, 220, 220, 0.2);
  1197. font-size: 140%;
  1198. }
  1199.  
  1200. header .main-text:hover
  1201. {
  1202. background-color: rgba(220, 220, 220, 0.2);
  1203. font-size: 170%;
  1204. }
  1205. }
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211. /*Questa keyframes viene utilizzata per far SLIDEare
  1212. la barra di ricerca gigante per i corsi fino ad una larghezza che stia nella pagina.E' un adattamento grafico*/
  1213. @keyframes SlideInToWidthingYou730px
  1214. {
  1215. 0%
  1216. {
  1217. width: 0%;
  1218. }
  1219.  
  1220. 0.1%
  1221. {
  1222. width: 85%;
  1223. }
  1224. }
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230. @media only screen and (max-width: 750px)
  1231. {
  1232. .search-course
  1233. {
  1234. width: 65%;
  1235. margin: 1.5% 17.5%;
  1236. }
  1237.  
  1238.  
  1239. .search-course input, .search-course button
  1240. {
  1241. font-size: 1.5rem;
  1242. height: 4rem;
  1243. }
  1244.  
  1245. .search-course input
  1246. {
  1247. width: 0%;
  1248. animation: 1000s ease-out 2s 1 SlideInToWidthingYou730px;
  1249. }
  1250.  
  1251. .search-course button
  1252. {
  1253. width: 15%;
  1254. }
  1255.  
  1256.  
  1257. .social-and-contact
  1258. {
  1259. flex-direction: column;
  1260. }
  1261. }
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267. @media only screen and (max-width: 690px)
  1268. {
  1269. header .main-text
  1270. {
  1271. background-color: rgba(220, 220, 220, 0.2);
  1272. font-size: 110%;
  1273. }
  1274.  
  1275. header .main-text:hover
  1276. {
  1277. background-color: rgba(220, 220, 220, 0.2);
  1278. font-size: 135%;
  1279. }
  1280. }
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286. @media only screen and (max-width: 550px)
  1287. {
  1288. header .main-text
  1289. {
  1290. background-color: rgba(220, 220, 220, 0.2);
  1291. font-size: 90%;
  1292. }
  1293.  
  1294. header .main-text:hover
  1295. {
  1296. background-color: rgba(220, 220, 220, 0.2);
  1297. font-size: 100%;
  1298. }
  1299. }
  1300.  
  1301.  
  1302.  
  1303.  
  1304. @media only screen and (max-width: 430px)
  1305. {
  1306. header .main-text
  1307. {
  1308. background-color: rgba(220, 220, 220, 0.2);
  1309. font-size: 75%;
  1310. }
  1311.  
  1312. header .main-text:hover
  1313. {
  1314. background-color: rgba(220, 220, 220, 0.2);
  1315. font-size: 83%;
  1316. }
  1317.  
  1318.  
  1319. .search-course input, .search-course button
  1320. {
  1321. font-size: 1.1rem;
  1322. height: 3rem;
  1323. }
  1324.  
  1325.  
  1326. .search-course input
  1327. {
  1328. width: 0%;
  1329. }
  1330.  
  1331.  
  1332. .search-course button
  1333. {
  1334. width: 20%;
  1335. }
  1336.  
  1337.  
  1338. .Info-DAD
  1339. {
  1340. height: 280px;
  1341. }
  1342. }
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348. @media only screen and (max-width: 330px)
  1349. {
  1350. .search-course input, .search-course button
  1351. {
  1352. font-size: 0.9rem;
  1353. }
  1354. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement