Difference between revisions of "MediaWiki:Mobile.css"

Line 350: Line 350:
.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;
}
/* ============= Frisardi Masticationpedia ============= */
.frisardi-nettuno-cover {
background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/26/Costa_di_Nettuno_Levante.JPG');
}
.frisardi-nettuno-main-title, .frisardi-nettuno-subtitle {
font-size: 300%;
color: white;
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 -16px;
}
/* ============= Fontana Masticationpedia ============= */
.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');
}
.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-size:cover;
}
.person-name {
font-size: 300%;
color: white;
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;
}
}

Revision as of 17:10, 16 February 2024

/* All CSS here will be loaded for users of the mobile site */
/* Gli stili CSS inseriti qui si applicano agli utenti che usano il sito per dispositivi mobili */

#p-tb{
 display : none;
}
body.page-Pagina_principale.action-view h1.firstHeading, body.page-Pagina_principale.action-submit h1.firstHeading { display: none; }
body.page-Pagina_principale li#ca-talk { display: none !important; }


#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: black; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
}

#myBtn a:link,
#myBtn a:visited,
#myBtn a:hover {
    color: white; /* Text color */
}
#myBtn a:hover {
    background-color: #000; /* Add a dark-grey background on hover */
}

#myBtn a:focus,
#myBtn a:hover {
    text-decoration: none;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
	font-weight: normal;
	/* @noflip */
	text-align: right;
	padding-right: 0.2em;
	padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
}

/* ========================== Integrazione pagine Wix 2024 ========================== */
/* ============= Generale ============= */
body {
	color: #333;
}

.custom-h0 {
	font-size: 300%;
	color: #116089;
}
.custom-h1 {
	font-size: 200%;
	color: #116089;
}
.custom-h2 {
	font-size: 150%;
	color: #116089;
}
.custom-subtitle {
	font-size: 125%;
	color: grey;
}

.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}

.rounded-logo {
	border-radius: 100%;
}

.colour-button a {
	display: inline-block;
	padding: 1rem 2rem;
	margin: 2rem 0;
	border-radius: 3rem;
	background-image: linear-gradient(126deg, #5f5bcd 24%, #ff5700 100%);
	transition: .5s;
	color: white;
	text-decoration: none;
}
.colour-button a:hover {
	background-image: linear-gradient(160deg, #5f5bcd 24%, #ff5700 100%);
	color: white;
	text-decoration: none;
}

.side-by-side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.separator {
	border: 1px solid silver;
	width: 50%;
	margin: 3rem auto;
}

.cover {
	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 -16px;
}

/* ============= Home ============= */
.page-Home_Page .content {
	margin: 0;
}

.homepage-slider {
	position: relative;
	height: 550px;
	background-color: white;
}
.homepage-logo-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 100;
}

.homepage-slide-1, .homepage-slide-2, .homepage-slide-3 {
	position: absolute;
	height: 550px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-shadow: 2px 2px 40px rgba(0,0,0,0.9);
	font-size: 300%;
	animation-duration: 15s;
	animation-iteration-count: infinite;
	background-color: #dadada;
	background-blend-mode: overlay;
	background-position: center;
	background-size: cover;	
}
.homepage-slide-1 {
	background-image: url(https://wiki.masticationpedia.org/images/a/a2/The_Past.jpg);
    background-position: 30% 50%;
    animation-name: slide-1-animation;
}
.homepage-slide-2 {
	background-image: url(https://wiki.masticationpedia.org/images/9/9c/The_Present.jpg);
	background-position: 20% 50%;
    animation-name: slide-2-animation;
}
.homepage-slide-3 {
	background-image: url(https://wiki.masticationpedia.org/images/a/ad/The_Future.jpg);
	background-position: 80% 50%;
    animation-name: slide-3-animation;
}
@keyframes slide-1-animation {
	0% { opacity: 0; }
	2% { opacity: 1; }
	31% { opacity: 1; }
	35% { opacity: 0; }
	100% { opacity: 0; }
}
@keyframes slide-2-animation {
	0% { opacity: 0; }
	31% { opacity: 0; }
	35% { opacity: 1; }
	66% { opacity: 1; }
	69% { opacity: 0; }
	100% { opacity: 0; }
}
@keyframes slide-3-animation {
	0% { opacity: 0; }
	65% { opacity: 0; }
	69% { opacity: 1; }
	98% { opacity: 1; }
	100% { opacity: 0; }
}

.homepage-video {
	order: 2;
}

.homepage-what-is-it, .homepage-how-to-follow-it, .homepage-why-to-enroll {
	padding: 3rem 2rem;
	background-color: rgba(196,196,196, .4);
}

.homepage-what-is-it {
	order: 1;
}

.homepage-how-to-follow-it {
	text-align: right;
}

.homepage-why-to-enroll {
	order: 1;
}

.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;
	flex-direction: column;
	gap: 2rem;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    perspective-origin: 10% 60%;
}
.three-d-image-container {
	width: 280px;
    background-color: cornflowerblue;
    transition: 1s;
    transform: rotateX(4deg) rotateY(-15deg) rotateZ(2deg);
    box-shadow: 10px 10px 30px rgba(0 0 0 / .2);
}

.dubai-video {
	order: 2;
	padding: 2rem;
}

.informative-video {
	display: none;
}

.einstein-quote {
	padding: 3rem 15vw;
	background-image: url('https://wiki.masticationpedia.org/images/5/50/Cityscape.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
	text-align: center;
}

.hidden-except-on-intersection {
	opacity: 0;
	transition: 2s;
}
.fade-in-on-intersection {
	opacity: 1;
}

/* ============= Scientific community ============= */
.scientific-community-cover {
	color: #045184;
	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: 40%;
	margin: 0;
	text-align: center;
}

.person-image {
	width: 100%;
	height: auto;
	border-radius: 100%;
}

.person-country {
	color: #045184;	
}

/* ============= Scientific project ============= */
.scientific-project-text-box {
	padding: 2rem;
	background-color: rgba(196,196,196, .25);
}

/* ============= Scientific project ============= */
.scientific-project-intro {
	padding: 0 2rem;
}

.scientific-project-text-box {
	padding: 2rem;
	background-color: rgba(196,196,196, .25);
}

/* ============= Social project ============= */

/* ============= Our story ============= */

/* ============= Book index ============= */
.book-index-cover {
	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;
	flex-direction: column;
	gap: 3rem;
}

.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-nettuno-cover {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/26/Costa_di_Nettuno_Levante.JPG');
}
.frisardi-nettuno-main-title, .frisardi-nettuno-subtitle {
	font-size: 300%;
	color: white;
	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 -16px;
}

/* ============= Fontana Masticationpedia ============= */
.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');
}
.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-size:cover;
}
.person-name {
	font-size: 300%;
	color: white;
	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;
}