1,278
edits
| (91 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 { | .custom-h0 { | ||
| 	font-size: 300%; | 	font-size: 300%; | ||
| Line 1,885: | 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(160deg, #5f5bcd 24%, #ff5700 100%); | 	background-image: linear-gradient(160deg, #5f5bcd 24%, #ff5700 100%); | ||
| 	color: white; | 	color: white; | ||
| 	text-decoration: none; | 	text-decoration: none; | ||
| } | |||
| .colour-button a, .colour-button a.external { | |||
| 	padding: 1rem 2rem; | |||
| } | |||
| .colour-button-small a, .colour-button-small a.external { | |||
| 	padding: 0.5rem 1rem; | |||
| } | } | ||
| Line 1,920: | Line 1,967: | ||
| .cover { | .cover { | ||
| 	position: relative; | |||
| 	display: flex; | 	display: flex; | ||
| 	flex-direction: column; | |||
| 	justify-content: center; | 	justify-content: center; | ||
| 	align-items: center; | 	align-items: center; | ||
| Line 1,931: | Line 1,980: | ||
| .full-width { | .full-width { | ||
| 	margin: 0 calc(-1*(( | 	margin: 0 calc(-1*((99vw - 993px)/2)); | ||
| } | } | ||
| /* ============= Home ============= */ | @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 ============= */ | |||
| .homepage-slider { | .homepage-slider { | ||
| 	position: relative; | 	position: relative; | ||
| Line 1,942: | Line 2,007: | ||
| .homepage-logo-container { | .homepage-logo-container { | ||
|      position: absolute; |      position: absolute; | ||
|      top:  |      top: 20px; | ||
|      left:  |      left: 50%; | ||
|     transform: translate(-50%); | |||
|      z-index: 100; |      z-index: 100; | ||
| } | } | ||
| Line 1,955: | Line 2,021: | ||
| 	justify-content: center; | 	justify-content: center; | ||
| 	color: white; | 	color: white; | ||
| 	text-shadow: 2px 2px  | 	text-shadow: 2px 2px 40px rgba(0,0,0,0.9); | ||
| 	font-size: 500%; | 	font-size: 500%; | ||
| 	animation-duration: 15s; | 	animation-duration: 15s; | ||
| Line 1,963: | Line 2,029: | ||
| 	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 2,001: | 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 2,029: | Line 2,102: | ||
| } | } | ||
| .three-d-image-container { | .three-d-image-container { | ||
| 	width:  | 	width: 380px; | ||
|      background-color: cornflowerblue; |      background-color: cornflowerblue; | ||
|      transition: 1s; |      transition: 1s; | ||
| Line 2,066: | Line 2,139: | ||
| .hidden-except-on-intersection { | .hidden-except-on-intersection { | ||
| 	opacity: 0; | 	opacity: 0; | ||
| 	transition:  | 	transition: 2s; | ||
| } | } | ||
| .fade-in-on-intersection { | .fade-in-on-intersection { | ||
| Line 2,076: | Line 2,149: | ||
| 	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-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; | |||
| } | |||
| .person-image { | |||
| 	width: 100%; | |||
| 	height: auto; | |||
| 	border-radius: 100%; | |||
| } | |||
| .person-country { | |||
| 	color: #045184;	 | |||
| } | } | ||
| Line 2,081: | Line 2,181: | ||
| .scientific-project-text-box { | .scientific-project-text-box { | ||
| 	padding: 2rem; | 	padding: 2rem; | ||
| 	background-color: rgba(196,196,196, . | 	background-color: rgba(196,196,196, .1); | ||
| } | } | ||
| Line 2,090: | Line 2,190: | ||
| /* ============= Book index ============= */ | /* ============= Book index ============= */ | ||
| .book-index-cover { | .book-index-cover { | ||
| 	background-image: url('https://wiki.masticationpedia.org/images/f/f7/The_sacred_wood_of_books.jpg'); | 	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); | |||
| } | } | ||
| Line 2,103: | Line 2,204: | ||
| .book-index-columns p, .book-index-columns li { | .book-index-columns p, .book-index-columns li { | ||
| 	color: gray; | 	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; | |||
| } | } | ||
| Line 2,117: | Line 2,225: | ||
| 	text-align: center; | 	text-align: center; | ||
| 	padding: 2rem; | 	padding: 2rem; | ||
| } | |||
| #iframe-Google\ Docs { | |||
|     height: 1600px; | |||
| } | |||
| #iframe-Google\ Maps { | |||
| 	margin: 0 calc(-1*((99vw - 993px)/2)); | |||
| 	width: 99vw; | |||
| } | } | ||
| Line 2,129: | Line 2,246: | ||
| } | } | ||
| /* ============= Template: | /* ============= Donate ============= */ | ||
| .donate-cover { | |||
| 	background-image: url('https://wiki.masticationpedia.org/images/b/b2/Donation_background.jpg'); | |||
| } | |||
| /* ============= Template:Person ============= */ | |||
| .person-box { | .person-box { | ||
| 	background-color: silver; | 	background-color: silver; | ||
| 	padding: 30px; | 	padding: 30px; | ||
| 	text-align: center; | 	text-align: center; | ||
| 	background-image: url(https://wiki.masticationpedia.org/images/0/0d/ | 	background-image: url(https://wiki.masticationpedia.org/images/0/0d/Scientific_community_darker.jpg); | ||
| 	background-position: center; | 	background-position: center; | ||
| 	background-size:cover; | 	background-size:cover; | ||
| Line 2,209: | Line 2,331: | ||
|    background-color: #e6e7e8; |    background-color: #e6e7e8; | ||
|    border-radius: 0 0 8px 8px; |    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; | |||
| } | } | ||