1,278
edits
(130 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* Gli stili CSS inseriti qui si applicano a tutti i temi */ | /* Gli stili CSS inseriti qui si applicano a tutti i temi */ | ||
/* ============================= Personalizzazione font e colore ============================= */ | |||
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); | |||
.mw-parser-output { | |||
color: #585858; | |||
font-family: "Roboto", sans-serif;; | |||
} | |||
.mw-headline { | |||
color: #454545; | |||
} | |||
/* To make images responsive */ | /* To make images responsive */ | ||
Line 1,832: | Line 1,843: | ||
border: 1px solid grey !important; | border: 1px solid grey !important; | ||
border-radius: 6px !important; | border-radius: 6px !important; | ||
} | } | ||
Line 1,857: | Line 1,867: | ||
/* ========================== Integrazione pagine Wix 2024 ========================== */ | /* ========================== Integrazione pagine Wix 2024 ========================== */ | ||
/* ============= Generale ============= */ | /* ============= Generale ============= */ | ||
body { | |||
color: #333; | |||
} | |||
#mw-mf-main-menu-button { | |||
display: none; | |||
} | |||
.pre-content { | |||
display: none; | |||
} | |||
@media screen and (min-width: 1000px) { | |||
.content { | |||
width: auto; | |||
} | |||
} | |||
@media screen and (min-width: 720px) { | |||
.content { | |||
width: auto; | |||
} | |||
} | |||
.mobile-only { | |||
display: none; | |||
} | |||
.custom-h0 { | |||
font-size: 300%; | |||
color: #116089; | |||
} | |||
.custom-h1 { | .custom-h1 { | ||
font-size: 200%; | font-size: 200%; | ||
Line 1,864: | Line 1,905: | ||
font-size: 150%; | font-size: 150%; | ||
color: #116089; | color: #116089; | ||
} | |||
.custom-subtitle { | |||
font-size: 125%; | |||
color: grey; | |||
} | } | ||
Line 1,877: | Line 1,922: | ||
.rounded-logo { | .rounded-logo { | ||
width: 200px; | |||
height: 200px; | |||
border-radius: 100%; | border-radius: 100%; | ||
} | } | ||
.colour-button a { | .colour-button a, .colour-button a.external, .colour-button-small a, .colour-button-small a.external { | ||
display: inline-block; | |||
border-radius: 3rem; | border-radius: 3rem; | ||
background-image: linear-gradient(126deg, #5f5bcd 24%, #ff5700 100%); | background-image: linear-gradient(126deg, #5f5bcd 24%, #ff5700 100%); | ||
background-size: auto; | |||
transition: .5s; | transition: .5s; | ||
color: white; | color: white; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.colour-button a:hover { | .colour-button a:hover, .colour-button-small a:hover { | ||
background-image: linear-gradient( | background-image: linear-gradient(160deg, #5f5bcd 24%, #ff5700 100%); | ||
color: white; | color: white; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.side-by-side { | .colour-button a, .colour-button a.external { | ||
padding: 1rem 2rem; | |||
} | |||
.colour-button-small a, .colour-button-small a.external { | |||
padding: 0.5rem 1rem; | |||
} | |||
.side-by-side { | |||
display: flex; | display: flex; | ||
gap: 2rem; | gap: 2rem; | ||
Line 1,909: | Line 1,964: | ||
width: 50%; | width: 50%; | ||
margin: 3rem auto; | margin: 3rem auto; | ||
} | |||
.cover { | |||
position: relative; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: center; | |||
align-items: center; | |||
height: 550px; | |||
background-size: cover; | |||
background-position: center; | |||
text-align: center; | |||
line-height: 400%; | |||
} | |||
.full-width { | |||
margin: 0 calc(-1*((99vw - 993px)/2)); | |||
} | |||
@media screen and (max-width: 1000px) { | |||
.full-width { | |||
margin: 0 calc(-1*((99vw - 763px) / 2)); | |||
} | |||
} | |||
@media screen and (max-width: 800px) { | |||
.full-width { | |||
margin: 0 calc(-1*((99vw - 654px) / 2)); | |||
} | |||
} | |||
.content-page-logo-container { | |||
margin-bottom: 2rem; | |||
} | } | ||
/* ============= Home ============= */ | /* ============= Home ============= */ | ||
.homepage-slider { | .homepage-slider { | ||
position: relative; | position: relative; | ||
height: | height: 550px; | ||
background-color: | background-color: white; | ||
} | } | ||
.homepage-logo-container { | .homepage-logo-container { | ||
position: absolute; | position: absolute; | ||
top: | top: 20px; | ||
transform: translate(- | left: 50%; | ||
transform: translate(-50%); | |||
z-index: 100; | z-index: 100; | ||
} | } | ||
Line 1,928: | Line 2,015: | ||
.homepage-slide-1, .homepage-slide-2, .homepage-slide-3 { | .homepage-slide-1, .homepage-slide-2, .homepage-slide-3 { | ||
position: absolute; | position: absolute; | ||
height: | height: 550px; | ||
width: 100%; | width: 100%; | ||
display: flex; | display: flex; | ||
Line 1,934: | Line 2,021: | ||
justify-content: center; | justify-content: center; | ||
color: white; | color: white; | ||
font-size: | text-shadow: 2px 2px 40px rgba(0,0,0,0.9); | ||
font-size: 500%; | |||
animation-duration: 15s; | animation-duration: 15s; | ||
animation-iteration-count: infinite; | animation-iteration-count: infinite; | ||
background-color: #dadada; | |||
background-blend-mode: overlay; | |||
background-position: center; | background-position: center; | ||
background-size: cover; | background-size: cover; | ||
} | |||
.homepage-slide-1 > *, .homepage-slide-2 > *, .homepage-slide-3 > * { | |||
transform: translate(0, 2rem); | |||
} | } | ||
.homepage-slide-1 { | .homepage-slide-1 { | ||
Line 1,954: | Line 2,047: | ||
@keyframes slide-1-animation { | @keyframes slide-1-animation { | ||
0% { opacity: 0; } | 0% { opacity: 0; } | ||
2% { opacity: 1; } | |||
31% { opacity: 1; } | |||
35% { opacity: 0; } | |||
100% { opacity: 0; } | 100% { opacity: 0; } | ||
} | } | ||
@keyframes slide-2-animation { | @keyframes slide-2-animation { | ||
0% { opacity: 0; } | 0% { opacity: 0; } | ||
31% { opacity: 0; } | |||
35% { opacity: 1; } | |||
66% { opacity: 1; } | |||
69% { opacity: 0; } | |||
100% { opacity: 0; } | 100% { opacity: 0; } | ||
} | } | ||
@keyframes slide-3-animation { | @keyframes slide-3-animation { | ||
0% { opacity: 0; } | 0% { opacity: 0; } | ||
65% { opacity: 0; } | |||
69% { opacity: 1; } | |||
98% { opacity: 1; } | |||
100% { opacity: 0; } | 100% { opacity: 0; } | ||
} | } | ||
Line 1,977: | Line 2,070: | ||
.homepage-what-is-it, .homepage-how-to-follow-it, .homepage-why-to-enroll { | .homepage-what-is-it, .homepage-how-to-follow-it, .homepage-why-to-enroll { | ||
padding: 2rem; | padding: 2rem; | ||
background-color: rgba(196,196,196, . | background-color: rgba(196,196,196, .1); | ||
} | |||
.homepage-what-is-it { | |||
margin-top: -6.5rem; | |||
z-index: 103; | |||
} | } | ||
.homepage-how-to-follow-it { | .homepage-how-to-follow-it { | ||
Line 1,983: | Line 2,080: | ||
} | } | ||
. | .for-editors a { | ||
display: inline-block; | |||
padding: .5rem 1rem; | |||
background-color: #02b8bf; | |||
color: white; | |||
text-align: right; | |||
transition: .5s; | |||
} | |||
.for-editors a:hover { | |||
background-color: #6bd0d4; | |||
text-decoration: none; | |||
} | |||
.perspective { | |||
display: flex; | display: flex; | ||
justify-content: | flex-direction: column; | ||
gap: 2rem; | |||
justify-content: center; | |||
align-items: center; | |||
perspective: 1000px; | |||
perspective-origin: 10% 60%; | |||
} | |||
.three-d-image-container { | |||
width: 380px; | |||
background-color: cornflowerblue; | |||
transition: 1s; | |||
transform: rotateX(4deg) rotateY(-15deg) rotateZ(2deg); | |||
box-shadow: 10px 10px 30px rgba(0 0 0 / .2); | |||
} | |||
.three-d-image-container:hover { | |||
transform: rotateX(6deg) rotateY(-25deg) rotateZ(3deg); | |||
box-shadow: 10px 20px 30px rgba(0 0 0 / .3); | |||
} | } | ||
.informative-video | .informative-video { | ||
width: 15rem; | width: 15rem; | ||
margin: 1rem 0; | |||
padding: 1rem 2rem; | padding: 1rem 2rem; | ||
border-radius: 3rem; | border-radius: 3rem; | ||
Line 2,002: | Line 2,128: | ||
.einstein-quote { | .einstein-quote { | ||
padding: 3rem | padding: 3rem 15vw; | ||
background-image: url(https://wiki.masticationpedia.org/images/ | background-image: url('https://wiki.masticationpedia.org/images/5/50/Cityscape.jpg'); | ||
background-size: cover; | background-size: cover; | ||
background-position: center; | background-position: center; | ||
Line 2,009: | Line 2,135: | ||
color: white; | color: white; | ||
text-align: center; | text-align: center; | ||
} | |||
.hidden-except-on-intersection { | |||
opacity: 0; | |||
transition: 2s; | |||
} | |||
.fade-in-on-intersection { | |||
opacity: 1; | |||
} | } | ||
/* ============= Scientific community ============= */ | /* ============= Scientific community ============= */ | ||
.scientific-community-cover { | .scientific-community-cover { | ||
color: #045184; | color: #045184; | ||
background-image: url('https://wiki.masticationpedia.org/images/0/0d/Scientific_community.jpg'); | background-image: url('https://wiki.masticationpedia.org/images/0/0d/Scientific_community.jpg'); | ||
} | } | ||
/* ============= | /* ============= Template:Person card ============= */ | ||
.scientific- | .scientific-community-container { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 2rem; | |||
justify-content: center; | |||
align-items: flex-start; | |||
} | } | ||
.person-container { | |||
. | display: inline-block; | ||
width: 20%; | |||
margin: 0; | |||
text-align: center; | text-align: center; | ||
} | } | ||
. | .person-image { | ||
width: 100%; | |||
height: auto; | |||
border-radius: 100%; | |||
color: | } | ||
.person-country { | |||
color: #045184; | |||
} | |||
/* ============= Scientific project ============= */ | |||
.scientific-project-text-box { | |||
padding: 2rem; | |||
background-color: rgba(196,196,196, .1); | |||
} | } | ||
/* ============= Social project ============= */ | |||
/* ============= Our story ============= */ | /* ============= Our story ============= */ | ||
. | |||
/* ============= Book index ============= */ | |||
.book-index-cover { | |||
color: | background-image: url('https://wiki.masticationpedia.org/images/f/f7/The_sacred_wood_of_books.jpg'); | ||
color: white; | |||
text-shadow: 3px 3px 40px rgba(0 0 0 / 0.9); | |||
} | |||
.book-index-columns { | |||
display: flex; | |||
gap: 3rem; | |||
} | |||
.book-index-columns div { | |||
width: 100%; | |||
} | |||
.book-index-columns p, .book-index-columns li { | |||
color: gray; | |||
} | |||
/* ============= Our Network ============= */ | |||
.network-cover { | |||
background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/19/Background-3228704_1920.jpg'); | |||
background-color: rgba(0 0 0 / 0.3); | |||
background-blend-mode: overlay; | |||
} | } | ||
/* ============= Frisardi Masticationpedia ============= */ | /* ============= Frisardi Masticationpedia ============= */ | ||
.frisardi-nettuno-cover { | .frisardi-nettuno-cover { | ||
background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/26/Costa_di_Nettuno_Levante.JPG'); | background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/26/Costa_di_Nettuno_Levante.JPG'); | ||
} | } | ||
.frisardi-nettuno-main-title, .frisardi-nettuno-subtitle { | .frisardi-nettuno-main-title, .frisardi-nettuno-subtitle { | ||
Line 2,075: | Line 2,221: | ||
color: white; | color: white; | ||
text-shadow: 2px 2px 10px rgba(0,0,0,0.2); | text-shadow: 2px 2px 10px rgba(0,0,0,0.2); | ||
} | |||
.frisardi-nettuno-person, .fontana-como-person { | |||
text-align: center; | |||
padding: 2rem; | |||
} | |||
#iframe-Google\ Docs { | |||
height: 1600px; | |||
} | } | ||
#iframe-Google\ Maps { | |||
margin: 0 calc(-1*((99vw - 993px)/2)); | |||
width: 99vw; | |||
} | |||
/* ============= Fontana Masticationpedia ============= */ | /* ============= Fontana Masticationpedia ============= */ | ||
.fontana-como-cover { | .fontana-como-cover { | ||
background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Como_-_Comune_di_Como_-_2023-09-08_23-29-16_001.jpg/2560px-Como_-_Comune_di_Como_-_2023-09-08_23-29-16_001.jpg'); | background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Como_-_Comune_di_Como_-_2023-09-08_23-29-16_001.jpg/2560px-Como_-_Comune_di_Como_-_2023-09-08_23-29-16_001.jpg'); | ||
} | |||
.fontana-como-main-title, .fontana-como-subtitle { | |||
font-size: 300%; | |||
color: white; | |||
text-shadow: 5px 5px 10px rgba(0,0,0,0.5); | |||
} | |||
/* ============= Donate ============= */ | |||
.donate-cover { | |||
background-image: url('https://wiki.masticationpedia.org/images/b/b2/Donation_background.jpg'); | |||
} | |||
/* ============= Template:Person ============= */ | |||
.person-box { | |||
background-color: silver; | |||
padding: 30px; | |||
text-align: center; | |||
background-image: url(https://wiki.masticationpedia.org/images/0/0d/Scientific_community_darker.jpg); | |||
background-position: center; | background-position: center; | ||
background-size:cover; | |||
} | } | ||
. | .person-name { | ||
font-size: 300%; | font-size: 300%; | ||
color: white; | color: white; | ||
text-shadow: | text-shadow: 3px 3px 20px rgba(0 0 0 / 0.5); | ||
} | |||
.person-bio { | |||
color: white; | |||
font-size: 150%; | |||
text-shadow: 3px 3px 10px rgba(0 0 0 / 0.5); | |||
} | |||
.person-portrait { | |||
margin: 2rem 0; | |||
} | |||
/* ============= Template:Person details ============= */ | |||
.person-details-header, .person-cv-header { | |||
margin-top: 2rem; | |||
margin-bottom: 5px; | |||
padding: 10px 0; | |||
border-radius: 8px 8px 0 0; | |||
text-align: center; | |||
color: white; | |||
background-color: #116089; | |||
} | |||
.person-cv-header { | |||
border-radius: 8px; | |||
} | |||
.smart-template { | |||
display: flex; | |||
box-sizing: border-box; | |||
margin: 0 auto; | |||
} | |||
.smart-template p { | |||
margin-top: 0; | |||
margin-bottom: 0; | |||
} | |||
.smart-template-left { | |||
box-sizing: border-box; | |||
width: 30%; | |||
margin-bottom: 5px; | |||
padding: 5px; | |||
background-color: #e6e7e8; | |||
text-align: right; | |||
font-weight: bold; | |||
} | |||
.smart-template:last-child .smart-template-left:nth-last-child(2) { | |||
border-radius: 0 0 0 8px; | |||
} | |||
.smart-template-right { | |||
box-sizing: border-box; | |||
width: 70%; | |||
margin-bottom: 5px; | |||
padding: 5px; | |||
background-color: #f2f2f2; | |||
} | |||
.smart-template:last-child .smart-template-right:last-child { | |||
border-radius: 0 0 8px 0; | |||
} | |||
.smart-template-bottom { | |||
justify-content: center; | |||
gap: 10px; | |||
margin-bottom: 5px; | |||
padding: 5px; | |||
background-color: #e6e7e8; | |||
border-radius: 0 0 8px 8px; | |||
} | |||
.person-contributions { | |||
background-color: #e6e7e8; | |||
border-radius: 8px; | |||
margin: 2rem 0 5px 0; | |||
padding: 5px; | |||
text-align: center; | |||
} | |||
/* ============= Template:Main menu ============= */ | |||
#main-menu-open, #main-menu-close { display: none; } | |||
.main-menu-container { | |||
display: flex; | |||
justify-content: center; | |||
background-color: #f1f1f1; | |||
} | |||
.main-menu-container a { | |||
text-decoration: none; | |||
} | |||
.padded { | |||
padding: 0.5rem 1.5rem; | |||
} | |||
.padded:hover { | |||
background-color: #e0e0e0; | |||
} | |||
.main-menu-dropdown-trigger { | |||
position: relative; | |||
} | |||
.main-menu-dropdown-content { | |||
display: none; | |||
position: absolute; | |||
z-index: 101; | |||
min-width: 180px; | |||
background-color: #f1f1f1; | |||
transition: .5s; | |||
} | |||
.main-menu-dropdown-trigger:hover .main-menu-dropdown-content { | |||
display: block; | |||
} | |||
.custom-page-title { | |||
margin-top: 50px!important; | |||
margin-bottom: 50px!important; | |||
text-align: center; | |||
font-size: 250%; | |||
text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3); | |||
} | |||
.firstHeading { | |||
margin-top: 2em !important; | |||
margin-left: 3em !important; | |||
} | |||
/* ============= Template:Tooltip ============= */ | |||
.tooltip-trigger, .tooltip-trigger-2 { | |||
color: #ba0606; | |||
position: relative; | |||
} | |||
.tooltip-trigger:hover .tooltip-content, .tooltip-trigger-2:hover .tooltip-content-2 { | |||
display: inline-block; | |||
position: absolute; | |||
top: 18px; | |||
transform: translate(-20em); /* centra il popup sotto la "i" */ | |||
min-width: 40em; | |||
padding: 10px 15px; | |||
color: #585858; | |||
background-color: white; | |||
border: 1px solid silver; | |||
border-radius: 10px; | |||
font-size: 90%; | |||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); | |||
z-index: 100; | |||
} | |||
.tooltip-content, .tooltip-content-2 { | |||
display: none; | |||
} | |||
.tooltip-trigger:hover { | |||
cursor: help; | |||
} | |||
@media screen and (max-width: 1200px) { | |||
.mw-parser-output { | |||
position: relative; | |||
} | |||
.tooltip-trigger, .tooltip-trigger-2 { | |||
position: static; | |||
} | |||
.tooltip-trigger:hover .tooltip-content, .tooltip-trigger-2:hover .tooltip-content-2 { | |||
box-sizing: border-box; | |||
left: 0; | |||
top: auto; | |||
transform: translate(0, 2em); | |||
width: 100%; | |||
} | |||
} | |||
/* ============= configurazione visibilità capitoli nel Book index ============= */ | |||
.crisis-of-paradigm-for-all { | |||
display: block; | |||
} | |||
.crisis-of-paradigm-for-members { | |||
display: none; | |||
} | |||
.extraordinary-science-for-all { | |||
display: block; | |||
} | |||
.extraordinary-science-for-affiliates { | |||
display: none; | |||
} | |||
/* ============= Template:Login or request Member account ============= */ | |||
.responsive-buttons { | |||
display: flex; | |||
justify-content: center; | |||
gap: 2rem; | |||
margin: 2rem auto; | |||
} | } |