Diferencia entre revisiones de «Plantilla:Tarjeta de biblioteca/style.css»

De ProleWiki, la enciclopedia proletaria
(Incluir el resto de reglas necesarias para que el contenedor "library-container" funcione adecuadamente.)
(Agregar ultimos apartados de estilo para que la «Plantilla:Tarjeta de biblioteca/style.css» se muestre correctamente.)
 
Línea 1: Línea 1:
/*
/* In es.prolewiki.org there are no such rules in this specific container. */
In es.prolewiki.org there is no such rules in this specific container.
*/
.library-container {
.library-container {
width: 100%;
width:100%;
display: flex;
display:flex;
flex-flow: row wrap;
flex-flow:row wrap;
justify-content: center;
justify-content:center;
align-items: flex-start;
align-items:flex-start;
}
}


Línea 68: Línea 66:
position:relative;
position:relative;
border-top:1px solid gray;
border-top:1px solid gray;
background:hsl(0, 0%, 100%) /* var(--color-surface-0); */
}
}



Revisión actual - 07:23 10 jul 2023

/* In es.prolewiki.org there are no such rules in this specific container. */
.library-container {
	width:100%;
	display:flex;
	flex-flow:row wrap;
	justify-content:center;
	align-items:flex-start;
}

.library-card{
	width:200px;
	margin:20px 0 0 20px;
	padding:0;
	border:1px gray solid;
    border-radius:10px 10px 4px 4px;
    overflow:hidden;
    z-index:10;
    box-shadow: 3px 1px 8px 1px gray;
	transition: box-shadow 0.4s, transform 0.4s;
}

.library-card:hover{
	box-shadow: 5px 4px 11px 3px #666;
	transform:scale(1.02);
}

.library-card-TOC{
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.library-card-image {
	height:300px;
	padding:0;
	margin:0;
	z-index:-1;
}

img{
	width:auto;
	height:100%;
	transform: scale(1.1);
	overflow:hidden;
	padding:0;
	margin:0;
	transition: transform 0.4s, filter 0.4s;
	z-index:-1;
	filter:grayscale(1);
}

img:hover{
	transform:scale(1.2);
	filter:grayscale(0.3);
}

.library-card-content{
	padding:15px 2px;
	margin:0;
	text-align:center;
	display:block;
	z-index:10;
	overflow:hidden;
	position:relative;
	border-top:1px solid gray;
	background:hsl(0, 0%, 100%) /* var(--color-surface-0); */
}

.library-card-title{
	font-size:1.2rem;
	font-weight:normal;
}

.library-card-works{
	font-size:0.8rem;
}

.library-card-works,.library-card-title,p,span{
	display:inline;
}

.library-card-content p{
	line-height:0.1rem;
}