Nota: Després de desar, heu de netejar la memòria cau del navegador per veure els canvis. En la majoria de navegadors amb Windows o Linux, premeu Ctrl+F5 o bé premeu Shift i cliqueu el botó "Actualitza" (Ctrl i "Actualitza" amb Internet Explorer). Vegeu més informació i instruccions per a cada navegador a Viquipèdia:Neteja de la memòria cau.

/* definim bandes */
#edifici { background-image: url(https://upload.wikimedia.org/wikipedia/commons/8/88/Portada_cawiki_edifici.png); }
#vaixell { background-image: url(https://upload.wikimedia.org/wikipedia/commons/c/c5/Portada_cawiki_vaixell.png); }
#arpa { background-image: url(https://upload.wikimedia.org/wikipedia/commons/1/1a/Portada_cawiki_arpa.png); }


.requadre-portada {
	box-shadow: 0 0 0.3rem #999;
	padding: 1rem;
	margin-bottom: 1.25rem;
}

.requadre-carousel {
	margin-bottom: 1.25rem;
}

.banda-left,
.banda-right {
	box-sizing: border-box;
}

.banda-left {
	float:left;
	padding-right: 1.2rem;
}

.banda-right {
	float:right;
}

#caixa-mare {
	margin-top: 1rem;
}

#caixa-mare .banda-left {
	width: 75%;
}

#caixa-mare .banda-right {
	width: 25%;
}
#caixa-mare:after {
	clear: both;
	display: table;
	content: '';
}

/* salts */
@media (max-width: 1200px) {
	.banda-left,
	.banda-right {
		float: none;
		width: auto !important;
	}
	.banda-left {
		padding-right: 0;
	}
}

@media (min-width: 1201px) {
	#caixa-mare {
		display: flex;
	}
	#caixa-mare .banda-left,
	#caixa-mare .banda-right {
		display: flex;
		flex-direction: column;
	}
	.requadre-portada:nth-child(1) {
		flex-grow: 1;
	}
	.requadre-portada:nth-child(2) {
		flex-grow: 2;
	}
	.requadre-portada:nth-child(3) {
		flex-grow: 3;
	}
	.requadre-carousel:nth-child(1) {
		flex-grow: 1;
	}
	.requadre-carousel:nth-child(2) {
		flex-grow: 2;
	}
	.requadre-carousel:nth-child(3) {
		flex-grow: 3;
	}
}

/* notícies via can :eu */
.imatge-act {
    position: relative;
    overflow: hidden;
    max-width: 1000px; 
    min-width: 100%;
    height: 100%;
    width:100%;
}
.imatge-act img {
	display: block;
    position:absolute;
    vertical-align:top;
    max-width: 100%;
    min-height:25vh;
    height: auto;
    width:auto;
    object-fit: cover;
}

/* CAROUSEL, provinent de Viquillibres, al seu torn adaptat d'eswikivoyage */
/* BEGIN Main Page carousel code */
.jcarousel {
    position: relative;
    overflow: hidden;
}
 
.jcarousel-wrapper {
	max-width: 1125px;
    margin: 0;
    position: relative;
}
 
.jcarousel .jcarousel-list {
    width: 20000em;
    position: relative;
    margin: 0;
    padding: 0;
}
 
.jcarousel .jcarousel-item {
    float: left;
    height: 300px;
}
 
.jcarousel-item img {
    display: block;
    height: 300px;
}
 
.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 45%;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}
 
.jcarousel-control-prev {
    left: -15px;
}
 
.jcarousel-control-next {
    right: -15px;
}
 
.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}
 
.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .5;
    cursor: default;
}
 
.jcarousel-pagination {
    position: absolute;
	bottom: -12px;
	left: 5px;
	z-index: 100;
}
 
.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    min-width: 14px;
    background: #fff;
    color: #4E443C;
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}
 
.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}
 
/* END Main Page carousel code */

/* Mark's template version of the new main page */
.banner-image {
    position: relative;
    max-width: 1125px; 
    height: auto;
    margin-bottom: .6em;
}
 
.banner-image img {
    max-width: 100%;
    width: auto;
    height: auto;
}
 
.banner-box {
    position: absolute;
    z-index: 2;
    margin-top: 2.5em;
    color: white;
    width: 59%;
    min-width: 20em;
    text-shadow: black 0.3em 0.3em 0.5em, black -0.3em -0.3em 0.5em, black 0 0 0.5em;
}
 
.banner-box-wide {
    width: 80%
}
 
.banner-box-left {
    left: 5%;
    text-align: left;
    font-size:100%;
}
 
.banner-box-right {
    right: 5%;
    text-align: right;
    font-size:100%;
}

.banner-box a {
    color: white !important;
    font-weight: bold;
}
 
.banner-box .name {
    font-size: 350%;
    white-space: nowrap;
    line-height: 120%;
}
 
.banner-box .type {
    font-size: 250%;
    line-height: 120%;
}
 
.banner-box .stats {
    font-size: 1em;
    margin-top: 1.7em;
}
 
.banner-box .quote {
    font-size: 120%;
    line-height: 120%;
}

.banner-box ul {
    font-size: 1.25em;
}
 
.banner-box ul li {
    display: inline;
}
 
.banner-box ul li:before {
    content: " • ";
}
 
.banner-box ul li:nth-of-type(1):before {
    content: " ";
}
 
/* Styles for Pagebanner template */
 
.topbanner {
    position: relative;
    overflow: hidden;
    max-width: 1800px; 
    height: auto;
}
 
.topbanner img {
    max-width: 100%;
    height: auto;
    width: auto;
}
 
.topbanner-box {
    position: absolute;
    z-index: 2;
    margin-top: 1.5em;
    color: white;
    width: 50%;
    min-width: 20em;
    left: 2%;
    text-align: left;
}
 
.topbanner .name {
    position: absolute;
    z-index: 2;
    margin: 0.6em 0 0 0.4em;
    padding: 8px 7px;
    font-size: 2.2em;
    font-weight: bold;
    background: rgb(16,16,16);
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
    color: white;
    white-space: nowrap;
    line-height: 0.9em;
}

.logo {
	box-shadow: black 0.3em 0.3em 1em, black -0.1em -0.1em 1em;
	background:rgb(5, 5, 5);
	background:rgba(5, 5, 5, .5);
	top: 190px;
	left: 90%;
	height: 80px;
	width:80px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius:40px;
	position:absolute;
	white-space: nowrap;
}
 
.logo img {
    vertical-align:middle;
    margin-left: auto;
    margin-right: auto;
    max-width: 72px;
    height:auto;
    margin: 10px auto 10px auto;
    overflow: visible !important;
}

.mf-mobile-only {
    display: none;
}
/* Aquí acaba l'adaptació del codi de eswikivoyage */

/* Fins aquí, la part de Viquillibres */
/* Coding for new Main Page END */
/* BEGIN Main Page carousel code */
 
.jcarousel {
    position: relative;
    overflow: hidden;
}
 
.jcarousel-wrapper {
	max-width: 1125px;
    margin: 0;
    position: relative;
}
 
.jcarousel .jcarousel-list {
    width: 20000em;
    position: relative;
    margin: 0;
    padding: 0;
}
 
.jcarousel .jcarousel-item {
    float: left;
}
 
.jcarousel-item img {
    display: block;
    max-width: 100%;
    height: auto !important;
}
 
.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 45%;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}
 
.jcarousel-control-prev {
    left: -15px;
}
 
.jcarousel-control-next {
    right: -15px;
}
 
.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}
 
.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .5;
    cursor: default;
}
 
.jcarousel-pagination {
    position: absolute;
    bottom: 10px;
    left: 15px;
}
 
.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    min-width: 14px;
    background: #fff;
    color: #4E443C;
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}
 
.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}
 
/* END Main Page carousel code */

/* Mark's template version of the new main page */
 
.banner-image {
    position: relative;
    overflow: hidden;
    max-width: 1125px; 
    height: auto;
    margin-bottom: .6em;
}
 
.banner-image img {
    max-width: 100%;
    height: auto;
    width: auto\9;
}
 
.banner-box {
    position: absolute;
    z-index: 2;
    margin-top: 2.5em;
    color: white;
    width: 50%;
    min-width: 20em;
    text-shadow: black 0.3em 0.3em 1em, black -0.1em -0.1em 1em;
}
 
.banner-box-wide {
    width: 80%
}
 
.banner-box-left {
    left: 5%;
    text-align: left;
}
 
.banner-box-right {
    right: 5%;
    text-align: right;
}
 
.banner-box a {
    color: white !important;
    font-weight: bold;
}
 
.banner-box .name {
    font-size: 3em;
    white-space: nowrap;
    line-height: 1.2em;
}
 
.banner-box .type {
    font-size: 2em;
    line-height: 1.2em;
}
 
.banner-box .stats {
    font-size: 1em;
    margin-top: 1.7em;
}
 
.banner-box .quote {
    font-size: 1em;
    line-height: 1.2em;
}

.banner-box ul {
    font-size: 1.25em;
}
 
.banner-box ul li {
    display: inline;
}
 
.banner-box ul li:before {
    content: " • ";
}
 
.banner-box ul li:nth-of-type(1):before {
    content: " ";
}
 
/* Styles for Pagebanner template */
 
.topbanner {
    position: relative;
    overflow: hidden;
    max-width: 1800px; 
    height: auto;
}
 
.topbanner img {
    max-width: 100%;
    height: auto;
    width: auto\9;
}
 
.topbanner-box {
    position: absolute;
    z-index: 2;
    margin-top: 1.5em;
    color: white;
    width: 50%;
    min-width: 20em;
    left: 2%;
    text-align: left;
}
 
.topbanner .name {
    position: absolute;
    z-index: 2;
    margin: 0.6em 0 0 0.4em;
    padding: 8px 7px;
    font-size: 2.2em;
    font-weight: bold;
    background: rgb(16,16,16);
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
    color: white;
    white-space: nowrap;
    line-height: 0.9em;
}

.mf-mobile-only {
    display: none;
}

/* END OF NEW MAIN PAGE */