Difference between revisions 42358 and 42359 on banwiki/* copas dari WIKIPÉDIA KATALAN */ /* Aquí comença el codi adaptat de 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-welcome { left: 1em; text-align: center; width: 40%; white-space: nowrap; } .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 .welcome a { font-size: 1.5em; } .banner-box .welcome { font-size: 2.1em; } .banner-box .nav-tip { font-size: 1.5em; margin-top: 1.5em; margin-bottom: 1.5em; } .banner-box .welcome-map-nav { font-size: 1.25em; } .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 */ /* Encapçalament */ .fullwidth img { width: 100%; height:100%; } .sysoponly { display:none; } /* Prestatgeria */ .contingut-caixa { height:100%; width:100%; position:absolute; transition:1s; opacity:0; padding:5% 3% 5%; z-index:100; white-space:nowrap; overflow:hidden; } .contingut-caixa:hover { opacity:0.8; } .contingut-caixa:hover + .titol-caixa { transform: translate(20%,-30%); opacity: 0; } .titol-caixa { transition:1s; margin:10%; z-index:0; font-size:150%; } /* END Prestatgeria */ /* AQUÍ ACABA EL CODI DE LA PORTADA */ @media print { .navbox { display: none; } } /* Coding for new Main Page */ .articleState { width: 60%; background: #fff; margin: 0 auto; border: solid 2px lightblue; text-align: center; } .routeBox { font-size: small; border-style: none; border-spacing: 0 0; border-collapse: collapse; margin: 0 auto; } .routeBox td { padding: 1px 2px; } #geoCoord table, #geoCoordOld table { border-collapse: collapse; background: transparent; } #geoCoord td, #geoCoordOld td { font-size: 0.9em; line-height: 100%; vertical-align: middle; padding: 0 0 0 10px; text-align: right; border-left: 1px solid #88a; } #geoCoord td.icon, #geoCoordOld td.icon { border-left: none; height: 27px; width: 35px; padding: 0 10px 0 0; } /* 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-welcome { left: 1em; text-align: center; width: 40%; white-space: nowrap; } .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 .welcome a { font-size: 1.5em; } .banner-box .welcome { font-size: 2.1em; } .banner-box .nav-tip { font-size: 1.5em; margin-top: 1.5em; margin-bottom: 1.5em; } .banner-box .welcome-map-nav { font-size: 1.25em; } .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 */ /* TICKER */ .ticker-container { height: 36px; overflow: hidden; border:1px solid #A9A9A9; border-left:none; border-radius:0 3px 3px 0; } .ticker-text { height: 150%; white-space:nowrap; display:inline-block; } .inici-noticies { text-align: center; float: left; font-size: 100%; color: white; background: #808080; padding: 3px 10px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px 0 0 3px; height: 32px; display:table; } .inici-noticies b { display: table-cell; vertical-align: middle; } /* FINAL DEL TICKER */ /* Imatges ombrejades, per Ssola i Gerardduenas */ .ombreig img { box-shadow:0 3px 4px #000; /* Suport navegadors antics */ box-shadow:0 3px 4px rgba(0, 0, 0, 0.45); margin-bottom:7px; background:rgb(255,255,255); /* Suport navegadors antics */ background:rgba(0,0,0,0.02); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius:5px; } /* Evitar espais en blanc sota la imatge a causa d'un <p> */ .ombreig p { margin:0; } /* Final ombrejat */ /* Téks hurung */ .hurung { font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 3rem; text-align: center; color: #f35626; background-image: -webkit-linear-gradient(92deg, #f35626, #feab3a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-animation: hue 10s infinite linear; } @-webkit-keyframes hue { from { -webkit-filter: hue-rotate(0deg); } to { -webkit-filter: hue-rotate(-360deg); } } /* Ahir hurung */ /* skrip darskrip ti Wikibuku català, copy paste from https://su.wikipedia.org/w/index.php?title=Pamak%C3%A9:Uchup19/skrip.js */ /***** Amagar el títol i la categoria a la portada i subportades Adaptat de [[meta:Help:Configuration tips and tricks]] */ mw.loader.using(['mediawiki.util']).then(function() { var isDiff = mw.util.getParamValue('diff') || mw.util.getParamValue('oldid'); (contracted; show full) window[editform.insertBefore(document.createElement("div"), editform.firstChild).id = "croptog"].innerHTML = (cropTogText = ["Open " + acic, "Hide " + acic])[0]; croptog.onclick = loadAutoCrop; } All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://ban.wikipedia.org/w/index.php?diff=prev&oldid=42359.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|