Txantiloi:Azala-Grid/styles.css

Wikipedia, Entziklopedia askea
.article_quality.mw-indicator {display: none;}

.type {
    padding: 0 0.6em;
    border-radius: 1em;
	background: #333;
	color:white;
}

.someicons {
	display: flex;
    gap: 0.4em;
	flex-flow: wrap;
	padding-left: 6px;
	padding-bottom: 4px;
	position: relative;
	top: -6px;
}

.smallbox .someicons img {
	border-radius: unset;
    width: unset;
    height: unset;
    object-fit: none;
}

.boximg {
	position: relative;
}

.third .boximg img {
	height:200px;
}

.subtitle {
	color: #666;
    font-size: 1rem;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
}

.single > div:first-child, .single > div:last-child {
	display:none;
}

.standalone {
	margin: 1em 0;
}

.blocks {
	display: flex;
    flex-direction: column;
    gap: 0.5rem;
	align-items: flex-start;
}

.blocks p {
	margin: 0;
}

.block {
	display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.smallbox h3 a, .smallbox h3 a:visited, .smallbox h3 a.external, .smallbox h3 a.external:visited {
	color: black;
}


.wideimage img {
	width: 100%;
    height: 100%;
}

.tallimage img {
	height: 100vh;
    width: auto;
}

.articlemeta {
	margin: 2em 0 1em;
	font-size: 0.8rem;
	font-family: 'Montserrat',sans-serif;
}

kbd {
	font-family: sans-serif;
}

u {
    text-decoration: none;
    background: gold;
}

a u {
	background: none;
}

h1, h2, .mw-heading2, h3, h4, h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

h1, h3, h4, h5 {
    border-bottom: none;
}

.mw-heading2 {
	border-bottom: 1px solid #eaecf0;
}

h1:first-letter, h2:first-letter, h3:first-letter, h4:first-letter, h5:first-letter {
	text-transform: capitalize;
}

h1 {
	font-size: 2rem;
	margin-top: 0;
	padding-top: 0;
}
h1 .mw-editsection { display: none; }

h2 {
	font-size: 1.7rem;
}

h3 {
	font-size: 1.4rem;
}

h4 {
	font-size: 1.1rem;
}

.boxes {
	display:flex;
	flex-wrap: wrap;
	column-gap: 1.5rem;
	row-gap: 1.5rem;
	margin:2rem 0;
}

.grid {
	display:grid;
	gap: 1rem;
	margin:1.5rem 0;
}

.grid * {
    box-sizing: border-box;
}

.box {
    border-radius: 8px;
    padding: 1.5rem;
}

#argazkia .box
{padding: 0;}


.box .mw-heading2, .box h3 {
    margin-top: unset;
    padding-top: 0;
    line-height: 1.3;
}

.mw-heading2 h2 {
	font-size: 1.7rem;
}

.quarter {
	flex: 1 1 26%;
    min-width: 250px;
}

.sixth {
	flex: 1 1 16%;
    min-width: 150px;
}

.smallbox.third {
    min-width: 200px;
    max-width: 300px;
    padding: 0px;
    flex: 1 1 240px;
}

.half {
    flex: 1 1 40%;
    min-width: 250px;
}

.full {
	flex: 1 1 100%;
	flex-direction: row;
    display: flex;
    gap: 1em;
}

.frame {
    display: flex;
    flex-wrap: wrap;
}


.smallbox {
    padding: 0;
    flex: 1 1 200px;
    min-width: 150px;
	max-width: 450px;
}

.smallbox img {
	border-radius: 8px;
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.smallbox .logo {
	border-radius:8px;
}

.smallbox .logo img {
	object-fit:contain;
	padding: 0.8em;
	box-sizing: border-box;
}

.smallbox .boxrow {
	line-height: 1.3;
/*	display: flex;*/
/*	padding-left: 6px;*/
	padding-right: 6px;
	padding-bottom: 6px;
}

.smallbox .boxrow img, .articlerowtitles img {
    border-radius: unset;
    width: 15px;
    height: unset;
    object-fit: unset;
}


.rowlogo > img {
	margin: 2px 5px 2px 0;
	width: 20px!important;
}

.smallbox h3 {
	line-height: 1.2em;
    font-size: 1.3em;
    margin-top: 0.4em;
    margin-bottom: 0.2em;
}

.orain .smallbox h3 {
	font-size: 2em;
	line-height: 1em;
}

.lotura-txuri h3 a {
	color: white !important;
}

.subpages {
	display:none;
}

.bluebox p, .bluebox ul {
	color:white;
	font-size:1rem;
	list-style: disc;
}

.mainimage .image img, .mainimage a img {
	width:100%;
	object-fit: cover;
	height:350px;
}

.mainimage .image img, .mainimage a img {
	width:100%;
	object-fit: cover;
	height:350px;
}

.mainimage.top .image img, .mainimage.top a img {
	object-position: top;
}

.mainimage.bottom .image img, .mainimage.bottom a img {
	object-position: bottom;
}

.mainimage.contain .image img, .mainimage.contain a img {
	object-fit: contain;
}

.person img {
	object-position: 50% 30%;
}

/* ESTATISTIKA */
.estatistika {
	width: 100%;
	font-size: 16pt;
	clear: both;
	color: #54595d;
	margin-top: -6px;
	text-align: center;
	margin-bottom: 6px;
}

/*NABARMEN*/
.nabarmen {display: grid; 
	grid-template-columns: 2fr 1fr;
	grid-template-rows: repeat(2, 1fr); 
	grid-column-gap: 20px;
	grid-row-gap: 10px;
}

.nabarmen .orain {grid-area: 1 / 1 / 3 / 2;}
.nabarmen .aurrekoa {grid-area: 1 / 2 / 2 / 3;}
.nabarmen .aurrekoa2 {grid-area: 2 / 2 / 3 / 3;}

@media only screen and (max-width: 640px) {
	.nabarmen {display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
grid-column-gap: 0;
grid-row-gap: 0;
}

.nabarmen .orain { grid-area: 1 / 1 / 2 / 2; }
.nabarmen .aurrekoa, .nabarmen .aurrekoa2 {display: none;}
}

.nabarmen .box {
    border-radius: 8px;
    padding: 0rem;
}

.nabarmen .orain .smallbox {
	max-width: 800px;
}

.nabarmen .orain .smallbox img {
	min-height: 300px;
}

.nabarmen .blocks {
    gap: 0rem;
	align-items: flex-start;
}

.nabarmen .smallbox img {
	height: 150px;
}

/* KOMUNITATEA */
.komunitatea {display: flex;}
.komunitatea .smallbox img {
	height: 100px;
}

.komunitatea .boximg {
	min-width:100px
}

/* IKUSGELA SEKZIOA */
.ikusgela {
	grid-template-columns: 2fr 1fr; 
	grid-template-rows: repeat(5, 1fr); 
	grid-column-gap: 20px; grid-row-gap: 10px;
	margin-bottom: -10px;
	margin-top: 0;
}

.bideoa1 {grid-area: 1 / 1 / 6 / 2;}

.ikusgela-aurrekoak {
	padding-left: 10px;
	border-bottom: 1px dashed #ccc;
}

.bideoa2 {
	padding-left: 10px;
	border-top: 1px dashed #ccc;
	padding-top: 4px;
	grid-area: 1 / 2 / 2 / 3;
}

.bideoa3 {grid-area: 2 / 2 / 3 / 3;}
.bideoa4 {grid-area: 3 / 2 / 4 / 3;}
.bideoa5 {grid-area: 4 / 2 / 5 / 3;}
.bideo-gehiago {grid-area: 5 / 2 / 6 / 3;}

@media only screen and (max-width: 640px) {
	.bideoa2, .bideoa3, .bideoa4, .bideoa5, .bideo-gehiago {display: none;}
	.nabarmen, .ikusgela {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		grid-column-gap: 0;
		grid-row-gap: 0;
}
	.bideoa1 {grid-area: 1 / 1 / 2 / 2;}
}

.ikusgela-aurrekoak p {
		margin-top: 0 !important;
}

.ikusgela-literatura {
	background-color: #EADDCA;
	border-radius: 6px;
	padding: 4px;
	font-weight: bold;
}

.ikusgela-ekonomia {
	background-color: #FFA500;
	color: white;
	border-radius: 6px;
	padding: 4px;
	font-weight: bold;
}

.ikusgela-filosofia {
	background-color: #6a5bba;
	color: white;
	border-radius: 6px;
	padding: 4px;
	font-weight: bold;
}

.ikusgela-ingurumena {
	background-color: #fbec00;
	border-radius: 6px;
	padding: 4px;
	font-weight: bold;
}

.ikusgela-erronka-digitalak {
	background-color: #719bfe;
	border-radius: 6px;
	padding: 4px;
	font-weight: bold;
}

.ikusgela-euskal-kultura {
	background-color: #00dc70;
	border-radius: 6px;
	padding: 4px;
	font-weight: bold;
}

.ikusgela-nabarmen-izenburua {
	font-size: 1.4em;
}

/*EFEMERIDEAK*/
.efemerideak {
	display: grid; 
	grid-template-columns: repeat(2, 1fr); 
	grid-template-rows: 3fr 1fr; 
	grid-column-gap: 25px;
	grid-row-gap: 0px;
}

@media only screen and (max-width: 640px) {
	.efemerideak {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 10px;
}
}


#efemerideak {grid-area: 1 / 1 / 2 / 2;}
@media only screen and (max-width: 640px) {
	#efemerideak {grid-area: 1 / 1 / 2 / 2; ;}
}

#argazkia {grid-area: 1 / 2 / 2 / 3;}
@media only screen and (max-width: 640px) {
	#argazkia {grid-area: 2 / 1 / 3 / 2;}
	#argazkia .full {flex-direction:column;}
	#argazkia .boximg img {width: 100%;}
}

#ba-al-dakizu {
	grid-area:2 / 1 / 3 / 3; 
	border: 1px solid #ccc; 
	padding: 8px;}

@media only screen and (max-width: 640px) {
	#ba-al-dakizu {display:none;}
}

#argazkia a img {border-radius: 8px;}

/*HILBERRIAK*/
.gaurkotu {float: left !important;}

.hilberriak {filter:grayscale(100%); 
            transition:.5s ease-in-out;
}
            
.hilberriak:hover {filter:grayscale(0%);}

.col-6 {grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
		gap: 0.5rem;
	    margin:0.5rem 0;
}

#hilberriak .smallbox {min-width: 80px;}

@media only screen and (max-width: 640px) {
	.col-6 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 10px; 
	}
	#hilberriak .smallbox img {
	max-height: 120px;
	}
	#hilberriak div.smallbox:nth-of-type(4n+2) {
		display:none;
	}
	
}

/* ALBISTEAK */
.albisteak {
	display:            grid;          
	grid-template-columns:            repeat(4, 1fr);          
	grid-template-rows:            1fr;          
	grid-column-gap:            10px;
	grid-row-gap:            0px;
}

.albistea1 {grid-area: 1 / 1 / 2 / 2;}
.albistea2 {grid-area: 1 / 2 / 2 / 3;}
.albistea3 {grid-area: 1 / 3 / 2 / 4;}
.albistea4 {grid-area: 1 / 4 / 2 / 5;}

.albisteak .articlemeta {margin: 0.5em 0 0;}

@media only screen and (max-width: 640px) {
	.albisteak {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 10px; 
}

.albistea1 {grid-area: 1 / 1 / 2 / 2;}
.albistea2 {grid-area: 2 / 1 / 3 / 2;}
.albistea3 {display:none;}
.albistea4 {display:none;}

	.albisteak .smallbox img {
	max-height: 180px;
	}
}

/* ESPLORATU */
.esploratu {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 10px;
grid-row-gap: 0px;
}

.gertukoak { grid-area: 1 / 1 / 2 / 2; }
.irakurrienak { grid-area: 1 / 2 / 2 / 3; }

@media only screen and (max-width: 640px) {
.esploratu {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 0px;
grid-row-gap: 9px;
}

.gertukoak { grid-area: 1 / 1 / 2 / 2; }
.irakurrienak { grid-area: 2 / 1 / 3 / 2; } 
}
 	
.esploratu .cdx-card {
	border-radius: 6px;
	padding: 6px;
	width: 94%;
}

.esploratu .cdx-card {
	margin-bottom: 4px;
}
.gertukoak .cdx-card {
	margin-bottom: -4px;
}

.gertukoak .mw-vue-nearby__pagelist + .mw-vue-nearby__footer {
	margin-top: 10px;
}

.gertukoak .cdx-card__text__description {display: none;}
.gertukoak .cdx-card__text__supporting-text {margin-top: 0;}

.azala-placeholder { height: 330px; overflow-y: scroll; }
.mw-vue-nearby {min-height: 240px;}
.azala-placeholder .mw-vue-page-list {
	grid-template-columns: 1fr;
}
.azala-placeholder {
	font-size: 16px;
}
/* Hide browsers that do not support this feature */
html.client-nojs .azala-widget-js-only { display: none; }