[+] EDITØR MODE [+]
htdocs
>
public
>
www
>
css
>
home.css
Edit File: home.css
@import url(http://fonts.googleapis.com/css?family=Arimo:400,700,400italic,700italic); /* ----------------------------------------------GENERALI-------------------------------------*/ body { margin: 0; padding: 0; font-size: 12px; font-family: 'Arimo', sans-serif; font-weight: 400; color: #000; } p { margin: 0; padding: 0; font-size: 12px; line-height: 16px; } p.rid { margin: 0; padding: 0; font-size: 10px; line-height: 14px; } p.corto { margin: 0; padding: 0; font-size: 12px; line-height: 16px; width: 35%; } a { color: #000; text-decoration: none; } a:hover { opacity: 0.85; filter: alpha(opacity=85); } p.giust { margin: 0; padding: 0; font-size: 12px; line-height: 16px; text-align: justify; } b { font-weight: 700; } p.dx { text-align: right; } p.sx { text-align: left; } span.assunto { font-weight: 700; color:blue; } img { display: block; margin: 0; padding: 0; border: none; } .r { max-width:100%; max-height: 100%; position: absolute; top: 0; right: 0; } img.b { display: inline-block; position: relative; float: left; border:none; border:1px solid #fff; } img.d { display: inline-block; position: relative; float: left; border:1px solid #c0c0c0; } h1 { margin-right: 5px; color: #FFF; letter-spacing: 5px; text-transform: uppercase; font-size: 1vw; font-family: 'Arimo', sans-serif; font-weight: 400; text-align: right; } h2 { margin: 0; color: #FFF; font-size: 3em; font-family: 'Arimo', sans-serif; letter-spacing: 3px; font-weight: 500; text-align: left; vertical-align: 0px; } h3 { margin: 0; color: #c0c0c0; font-size: 11px; font-family: 'Arimo', sans-serif; letter-spacing: 2px; font-weight: 700; } h4 { margin: 0 0 0 35%; color: #c0c0c0; text-align: left; font-size: 20px; font-family: 'Arimo', sans-serif; font-weight: 400; } h5 { margin-bottom:2px; color: #000; font-size: 14px; font-family: 'Arimo', sans-serif; letter-spacing: 2px; font-weight: 700; } img.opaco { opacity: 1; filter: alpha(opacity=100); } img.opaco:hover { opacity: 0.7; filter: alpha(opacity=70); } /* ----------------------------------------------RESPONSIVE-------------------------------------*/ /* Base */ .box_l { float: left; } .box_r { float: right; } #root { width: 95%; max-width: 1200px; margin: 0 auto; } /* HOME */ #top_bar { width: 100%; } #lan_ita { width: 2%; } #lan_eng { width: 2%; } #cerca { width: 30%; } #content { width: 100%; } #content_parent { width: 100%; } #nome { width: 28%; } #logo { width: 70%; } #menu { width: 100%; } /* PAGINE */ #titoli { width: 100%; } #head_l { width: 35%; } #head_r { width: 105px; } #cer { width: 15%; } #dietro { width: 10%; } #testo { width: 35%; } #testo_elenco { width: 100%; } #cerca_barra { width: 35%; } #cerca_barra { width: 35%; } #testo_largo { width: 65%; } #barra_dx { width: 15%; } #cont_lungo_basso { width: 100%; } #head_p { width: 25%; } #testo_p { width: 25%; } #img_p { width: 70%; } /* Laptop/Tablet (1024px) */ @media only screen and (min-width: 481px) and (max-width: 1024px) and (orientation: landscape) { #root { width: 95%; } #top_bar { width: 100%; height:70px; } #lan_ita { width: 2%; } #lan_eng { width: 2%; } #cerca { width: 30%; } #content { width: 100%; } #content_parent { width: 100%; } #nome { width: 28%; } #logo { width: 70%; } #menu { width: 100%; } #titoli { width: 100%; } #head_l { width: 35%; } #head_r { width: 105px; } #cer { width: 15%; } #dietro { width: 10%; } #testo { width: 35%; } #testo_elenco { width: 100%; } #cerca_barra { width: 35%; } #testo_largo { width: 65%; } #barra_dx { width: 30%; } #cont_lungo_basso { width: 35%; } #head_p { width: 25%; } #testo_p { width: 25%; } #img_p { width: 70%; } } /* Tablet Portrait (768px) */ @media only screen and (min-width: 321px) and (max-width: 1024px) and (orientation: portrait) { #root { width: 95%; } #top_bar { width: 100%; height:70px; } #lan_ita { width: 3%; } #lan_eng { width: 3%; } #cerca { width: 30%; } #content { width: 100%; } #content_parent { width: 100%; } #nome { width: 28%; } #logo { width: 70%; } #menu { width: 100%; } #titoli { width: 100%; } #head_l { width: 35%; } #head_r { width: 105px; } #cer { width: 15%; } #dietro { width: 10%; } #testo { width: 35%; } #cerca_barra { width: 35%; } #testo_largo { width: 65%; } #barra_dx { width: 30%; } #cont_lungo_basso { width: 35%; } #head_p { width: 25%; } #testo_p { width: 25%; } #img_p { width: 70%; } } /* Phone Landscape (480px) */ @media only screen and (min-width: 321px) and (max-width: 480px) and (orientation: landscape) { #root { width: 95%; } #top_bar { width: 100%; height:70px; } #lan_ita { width: 5%; } #lan_eng { width: 5%; } #cerca { width: 40%; } #content { width: 100%; } #content_parent { width: 100%; } #nome { width: 28%; } #logo { width: 70%; } #menu { width: 100%; } #titoli { width: 100%; } #head_l { width: 35%; } #head_r { width: 105px; } #cer { width: 15%; } #dietro { width: 10%; } #testo { width: 35%; } #testo_elenco { width: 100%; } #cerca_barra { width: 35%; } #testo_largo { width: 65%; } #barra_dx { width: 30%; } #cont_lungo_basso { width: 35%; } #head_p { width: 25%; } #testo_p { width: 25%; } #img_p { width: 70%; } } /* Phone Portrait (320px) */ @media only screen and (max-width: 320px) { #root { width: 95%; } #top_bar { width: 100%; height:70px; } #lan_ita { width: 5%; } #lan_eng { width: 5%; } #cerca { width: 80%; } #content { width: 100%; } #content_parent { width: 100%; } #nome { width: 28%; } #logo { width: 70%; } #menu { width: 100%; } #titoli { width: 100%; } #head_l { width: 35%; } #head_r { width: 105px; } #cer { width: 15%; } #dietro { width: 10%; } #testo { width: 35%; } #testo_elenco { width: 100%; } #cerca_barra { width: 35%; } #testo_largo { width: 65%; } #barra_dx { width: 30%; } #cont_lungo_basso { width: 35%; } #head_p { width: 25%; } #testo_p { width: 25%; } #img_p { width: 70%; } } /* ----------------------------------------------CSS ELEMENTI-------------------------------------*/ #root { height: 100vh; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; } @media (max-height: 530px) { #root { height: 500px; margin: auto; position: relative; } } #top_bar { margin-top: 30px; margin-bottom: 20px; } #lan_ita { margin-right: 0.6em; } #lan_eng { margin-right: 0.6em; } #content { float: left; display: block; position: relative; overflow: hidden; } #content_parent { padding: 20vh 0; } @media (max-width: 780px) { #content_parent { padding: 1vh 0; } } @media (max-height: 850px) { #content_parent { padding: 10vh 0; } } #nome { float: left; display: block; position: relative; height: auto; padding-bottom: 500em; margin-bottom: -500em; background-color: #c0c0c0; } #logo_dx { overflow: hidden; width: 28%; display: block; position: absolute; bottom: 0px; } #logo { float: right; height: auto; } /* PAGINE */ #titoli { display: block; float: left; height: 40px; margin-bottom: 15px; } #head_l { display: block; position: relative; height: 40px; float: left; margin-right: 10px; background-color: #c0c0c0; } #head_l_text { height: auto; display: block; position: absolute; bottom: 0; margin-left: -0.25em; margin-bottom: -0.8em; text-align: left; } #head_r { display: block; position: relative; height: 40px; float: right; text-align: right; } #cer { float: left; display: block; margin-right: 1px; border-radius: 50%; width: 40px; height: 40px; background-color: #c0c0c0; } #dietro { float: left; height: 40px; -ms-transform: rotate(270deg); -moz-transform: rotate(270deg); -webkit-transform: rotate(270deg); transform: rotate(270deg); -ms-transform-origin: 20px 20px 0; -moz-transform-origin: 20px 20px 0; -webkit-transform-origin: 20px 20px 0; transform-origin: 20px 20px 0; } #testo { float: left; height:60vh; max-height: 80vh; overflow: auto; } #testo_largo { float: left; height:65vh; max-height: 80vh; overflow-y: auto; overflow-x: hidden; } #testo_elenco { float: left; height:60vh; max-height: 80vh; overflow: auto; } #barra_dx { position: relative; text-align: right; float: right; max-height: 80vh; overflow: auto; } #cont_lungo_basso { float: left; display: block; margin-top: 1,5vh; text-align: left; max-height: 80vh; overflow: auto; } /* si sposta a dx quando il menu diventa verticale */ @media (max-width: 780px) { #cont_lungo_basso { float: right; display: block; margin-top: -120px; text-align: right; max-height: 80vh; overflow: auto; } } #head_p { display: block; position: relative; height: 40px; float: left; margin-right: 10px; background-color: #c0c0c0; } #testo_p { float: left; height:80vh; max-height: 80vh; overflow: auto; } #testo_p .pallini{ float: left; height:80px; width:100%; margin-top:35px; } #img_p { position: relative; padding-top:20px; text-align: right; float: right; height:80vh; max-height: 80vh; overflow: hidden; } @media (max-height: 700px) { #img_p { position: relative; padding-top:20px; text-align: right; float: right; height:65vh; max-height: 65vh; overflow: hidden; } } @media (max-width: 780px) { #testo { float: left; max-height: 50vh; overflow-y: auto; overflow-x: hidden; } #testo_p { float: left; max-height: 50vh; overflow-y: auto; overflow-x: hidden; } #barra_dx { float: right; margin-top: 12px; text-align: right; max-height: 50vh; overflow-y: auto; overflow-x: hidden; } #img_p { float: right; text-align: right; max-height: 50vh; overflow-y: hidden; overflow-x: hidden; } #cont_lungo { float: left; max-height: 50vh; overflow-y: auto; overflow-x: hidden; } } ul.pers { list-style-type: none; padding: 0px; margin: 0px; float: right; } li.pers { display: block; list-style: none; text-align: right; font-size: 12px; line-height: 20px; font-family: 'Arimo', sans-serif; font-weight: 400; color: #C0C0C0; text-transform: uppercase; text-decoration: none; } li.staff { display: block; list-style: none; text-align: right; font-size: 12px; line-height: 20px; margin-top: 50px; font-family: 'Arimo', sans-serif; font-weight: 700; color: #000; text-transform: uppercase; text-decoration: none; } li.img { display: block; list-style: none; text-align: left; margin-bottom: 40px; } li.img:last-child { margin-bottom: 0; } iframe{ width:95%; height:100%; border: 0; overflow: hidden; overflow-x: hidden; overflow-y: hidden; }
Method:
fopen()
file_put_contents()
stream_context_create()
Simpan
Rename:
Rename