No edit summary |
No edit summary |
||
Line 63: | Line 63: | ||
position:relative; | position:relative; | ||
margin:0.5em; | margin:0.5em; | ||
right: 45px; | |||
bottom: 15px; | |||
} | } | ||
/* Live Excerpt Indicator */ | /* Live Excerpt Indicator */ | ||
.circle { | .circle { | ||
width: | width: 12.5px; | ||
height: | height: 12.5px; | ||
background-color: #62bd19; | background-color: #62bd19; | ||
border-radius: 50%; | border-radius: 50%; | ||
Line 81: | Line 81: | ||
border: 3px solid #62bd19; | border: 3px solid #62bd19; | ||
border-radius: 30px; | border-radius: 30px; | ||
height: | height: 20px; | ||
width: | width: 20px; | ||
position: absolute; | position: absolute; | ||
left: 15px; | left: 15px; |
Revision as of 20:20, 30 January 2024
.card {
background: #f8f9fa;
border: 1px solid #a2a9b1;
border-left: 1em solid #a2a9b1;
box-sizing: border-box;
break-inside: avoid;
margin: 1em 0;
padding: .5em;
overflow: hidden;
}
.card .right {
float: right;
}
.card-icon {
float: left;
margin: .5em;
}
.card-icon img{
height: 1.3em;
width: 1.3em;
}
.card-tooltip {
float: right;
margin: .5em;
}
.card-title {
font-weight: bold;
margin: .5em;
}
.card-content {
margin: .5em;
}
.card-content img {
vertical-align: middle;
max-width: 100%;
height: auto;
}
.card-content .thumb {
background: transparent;
border: none;
}
.card-content .thumbinner {
margin: 0;
}
.card-content .template-video {
background: transparent;
border: none;
padding: 0;
}
.card-grid {
display: grid;
grid-auto-rows: minmax( 100px, auto );
grid-gap: 10px;
grid-template-columns: repeat( auto-fit, minmax( 300px, 1fr ) );
margin: 1em 0;
width: auto;
}
.card-indicator {
float: right;
position:relative;
margin:0.5em;
right: 45px;
bottom: 15px;
}
/* Live Excerpt Indicator */
.circle {
width: 12.5px;
height: 12.5px;
background-color: #62bd19;
border-radius: 50%;
position: absolute;
top: 23px;
left: 23px;
}
.pulse {
border: 3px solid #62bd19;
border-radius: 30px;
height: 20px;
width: 20px;
position: absolute;
left: 15px;
top: 15px;
animation: pulsate 1s ease-out;
animation-iteration-count: infinite;
opacity: 0.0
}
@keyframes pulsate {
0% {transform: scale(0.1, 0.1); opacity: 0.0;}
50% {opacity: 1.0;}
100% {transform: scale(1.2, 1.2); opacity: 0.0;}
}
/**
* Dark mode
*/
html.skin-citizen-dark .card {
background: #303134;
border-color: #3c4043;
color: #bdc1c6;
}
html.skin-citizen-dark .card-icon {
filter: invert( 1 );
}
/* Interwiki inclusion modifications */
.wikipedia-excerpt .error,.infobox,.navigation-not-searchable {
display:none;
}
.wikipedia-excerpt .mw-references-wrap {
height:0;
overflow:hidden;
margin-top:0;
}
/* Limit paragraphs class number */
.wikipedia-excerpt.num-paragraphs-1 p:nth-of-type(n+1) { display:none; }
.wikipedia-excerpt.num-paragraphs-2 p:nth-of-type(n+2) { display:none; }
.wikipedia-excerpt.num-paragraphs-3 p:nth-of-type(n+3) { display:none; }
.wikipedia-excerpt.num-paragraphs-4 p:nth-of-type(n+4) { display:none; }
.wikipedia-excerpt.num-paragraphs-5 p:nth-of-type(n+5) { display:none; }
.wikipedia-excerpt.num-paragraphs-6 p:nth-of-type(n+6) { display:none; }
.wikipedia-excerpt.num-paragraphs-7 p:nth-of-type(n+7) { display:none; }
.wikipedia-excerpt.num-paragraphs-8 p:nth-of-type(n+8) { display:none; }
.wikipedia-excerpt.num-paragraphs-9 p:nth-of-type(n+9) { display:none; }
.wikipedia-excerpt.num-paragraphs-10 p:nth-of-type(n+10) { display:none; }
.wikipedia-excerpt.num-paragraphs-11 p:nth-of-type(n+11) { display:none; }
.wikipedia-excerpt.num-paragraphs-12 p:nth-of-type(n+12) { display:none; }
.wikipedia-excerpt.num-paragraphs-13 p:nth-of-type(n+13) { display:none; }
.wikipedia-excerpt.num-paragraphs-14 p:nth-of-type(n+14) { display:none; }
.wikipedia-excerpt.num-paragraphs-15 p:nth-of-type(n+15) { display:none; }
.wikipedia-excerpt.num-paragraphs-16 p:nth-of-type(n+16) { display:none; }
.wikipedia-excerpt.num-paragraphs-17 p:nth-of-type(n+17) { display:none; }
.wikipedia-excerpt.num-paragraphs-18 p:nth-of-type(n+18) { display:none; }
.wikipedia-excerpt.num-paragraphs-19 p:nth-of-type(n+19) { display:none; }
.wikipedia-excerpt.num-paragraphs-20 p:nth-of-type(n+20) { display:none; }