Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
>MangoFVTT
No edit summary
No edit summary
 
(31 intermediate revisions by 2 users not shown)
Line 4: Line 4:
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charis+SIL:ital,wght@0,400;0,700;1,400;1,700&display=swap');


:root {
:root {
/* FONTS */
/* FONTS */
--ygdren-font-family-header: 'Cormorant Garamond', serif;
--ygdren-font-family-header: 'EB Garamond', serif;
--ygdren-font-family-body: 'Lora', serif;
--ygdren-font-family-body: 'Lora', serif;
Line 17: Line 18:
--ygdren-font-size-xx-large: 1.5rem;
--ygdren-font-size-xx-large: 1.5rem;
--ygdren-font-size-xxx-large: 2rem;
--ygdren-font-size-xxx-large: 2rem;
--ygdren-font-weight-regular: 400;
    --ygdren-font-weight-medium: 500;
    --ygdren-font-weight-semibold: 600;
--ygdren-line-height: 1.6;
--ygdren-line-height-xx-small: 1.375;
--ygdren-line-height-xxx-small: 1.25;
/* BORDERS */
--ygdren-border-base: 1px solid var(--ygdren-border-color-base);
--ygdren-border-radius-sharp: 0;
--ygdren-border-radius-sharp: 0;
Line 24: Line 36:
--ygdren-border-radius-pill: 9999px;
--ygdren-border-radius-pill: 9999px;
--ygdren-border-radius-circle: 50%;
--ygdren-border-radius-circle: 50%;
--ygdren-color-infobox: color-mix(in srgb, var(--ygdren-color-surface-2), transparent 80%);
}
}


/* DARK MODE */
@media screen and (prefers-color-scheme: dark) {
@media screen and (prefers-color-scheme: dark) {
:root.skin-theme-clientpref-os.citizen-feature-pure-black-clientpref-0 {
:root.skin-theme-clientpref-os.citizen-feature-pure-black-clientpref-0 {
--ygdren-color-text: #f5efe4;
--filter-invert: invert(1) hue-rotate(180deg);
--ygdren-color-emphasized: #fcf6e8;
--ygdren-color-subtle: #c5b287;
--ygdren-color-text: #e7e8e9;
--ygdren-color-emphasized: #fefdfc;
--ygdren-color-subtle: #cbbba1;
--ygdren-color-faded: #7D8491;
    --ygdren-color-inverted: #0d1117;
    --ygdren-color-progressive: #ffc15b;
    --ygdren-color-progressive--hover: #ffcd7c;
    --ygdren-color-progressive--active: #e6ae52;
   
    --ygdren-color-destructive: #bf3c2c;
    --ygdren-color-destructive--hover: #9f3526;
    --ygdren-color-destructive--active: #612419;


--ygdren-border-base: rgba(255, 255, 255, 0.05);
--ygdren-border-color-base: rgba(255, 255, 255, 0.05);
--ygdren-border-interactive: rgba(255, 255, 255, 0.08);
--ygdren-border-color-interactive: rgba(255, 255, 255, 0.08);
--ygdren-border-subtle: rgba(255, 255, 255, 0.02);
--ygdren-border-color-subtle: rgba(255, 255, 255, 0.02);
    --ygdren-color-surface-0: #0d1117;
    --ygdren-color-surface-1: #0c0f15;
    --ygdren-color-surface-2: #12141e;
    --ygdren-color-surface-3: #181b26;
    --ygdren-color-surface-4: #ff00ff;
--ygdren-color-surface-5: #ff00ff;
}
}


:root.skin-theme-clientpref-os.citizen-feature-pure-black-clientpref-1 {
:root.skin-theme-clientpref-os.citizen-feature-pure-black-clientpref-1 {
--filter-invert: invert(1) hue-rotate(180deg);
--ygdren-color-text: #f5f5f5;
--ygdren-color-text: #f5f5f5;
--ygdren-color-emphasized: #f2f2f2;
--ygdren-color-emphasized: #f2f2f2;
--ygdren-color-subtle: #a6a6a6;
--ygdren-color-subtle: #a6a6a6;
--ygdren-color-faded: #afa796;
    --ygdren-color-inverted: #ffffff;
--ygdren-color-progressive: #f1c45e;
    --ygdren-color-progressive--hover: #ffd16b;
    --ygdren-color-progressive--active: #e4b750;
   
    --ygdren-color-destructive: #bf3c2c;
    --ygdren-color-destructive--hover: #9f3526;
    --ygdren-color-destructive--active: #612419;


--ygdren-border-base: rgba(255, 255, 255, 0.08);
--ygdren-border-color-base: rgba(255, 255, 255, 0.08);
--ygdren-border-interactive: rgba(255, 255, 255, 0.1);
--ygdren-border-color-interactive: rgba(255, 255, 255, 0.1);
--ygdren-border-subtle: rgba(255, 255, 255, 0.04);
--ygdren-border-color-subtle: rgba(255, 255, 255, 0.04);
}
}
--ygdren-color-surface-0: #000;
 
    --ygdren-color-surface-1: #111;
@media screen and (prefers-color-scheme: light) {
    --ygdren-color-surface-2: #222;
:root.skin-theme-clientpref-os {
    --ygdren-color-surface-3: #333;
--ygdren-color-text: #1d1d1d;
    --ygdren-color-surface-4: #444;
--ygdren-color-emphasized: #0f1802;
    --ygdren-color-surface-5: #555;
--ygdren-color-subtle: #607d36;
 
--ygdren-border-base: rgba(0, 0, 0, 0.08);
--ygdren-border-interactive: rgba(0, 0, 0, 0.11);
--ygdren-border-subtle: rgba(0, 0, 0, 0.05);
}
}
}
}


:root.skin-theme-clientpref-night.citizen-feature-pure-black-clientpref-0 {
:root.skin-theme-clientpref-night.citizen-feature-pure-black-clientpref-0 {
--ygdren-color-text: #f5efe4;
--filter-invert: invert(1) hue-rotate(180deg);
--ygdren-color-emphasized: #fcf6e8;
--ygdren-color-subtle: #c5b287;
--ygdren-color-text: #e7e8e9;
--ygdren-color-emphasized: #fefdfc;
--ygdren-color-subtle: #cbbba1;
--ygdren-color-faded: #7D8491;
--ygdren-color-inverted: #0d1117;
    --ygdren-color-progressive: #ffc15b;
--ygdren-color-progressive--hover: #ffcd7c;
--ygdren-color-progressive--active: #e6ae52;
   
--ygdren-color-destructive: #bf3c2c;
--ygdren-color-destructive--hover: #9f3526;
--ygdren-color-destructive--active: #612419;


--ygdren-border-base: rgba(255, 255, 255, 0.05);
--ygdren-border-color-base: rgba(255, 255, 255, 0.05);
--ygdren-border-interactive: rgba(255, 255, 255, 0.08);
--ygdren-border-color-interactive: rgba(255, 255, 255, 0.08);
--ygdren-border-subtle: rgba(255, 255, 255, 0.02);
--ygdren-border-color-subtle: rgba(255, 255, 255, 0.02);
    --ygdren-color-surface-0: #0d1117;
--ygdren-color-surface-1: #0c0f15;
--ygdren-color-surface-2: #12141e;
--ygdren-color-surface-3: #181b26;
--ygdren-color-surface-4: #ff00ff;
--ygdren-color-surface-5: #ff00ff;
}
}


:root.skin-theme-clientpref-night.citizen-feature-pure-black-clientpref-1 {
:root.skin-theme-clientpref-night.citizen-feature-pure-black-clientpref-1 {
--filter-invert: invert(1) hue-rotate(180deg);
--ygdren-color-text: #f5f5f5;
--ygdren-color-text: #f5f5f5;
--ygdren-color-emphasized: #f2f2f2;
--ygdren-color-emphasized: #f2f2f2;
--ygdren-color-subtle: #a6a6a6;
--ygdren-color-subtle: #a6a6a6;
--ygdren-color-faded: #afa796;
--ygdren-color-inverted: #ffffff;
--ygdren-color-progressive: #f1c45e;
--ygdren-color-progressive--hover: #ffd16b;
--ygdren-color-progressive--active: #e4b750;
   
--ygdren-color-destructive: #bf3c2c;
--ygdren-color-destructive--hover: #9f3526;
--ygdren-color-destructive--active: #612419;


--ygdren-border-base: rgba(255, 255, 255, 0.08);
--ygdren-border-color-base: rgba(255, 255, 255, 0.08);
--ygdren-border-interactive: rgba(255, 255, 255, 0.1);
--ygdren-border-color-interactive: rgba(255, 255, 255, 0.1);
--ygdren-border-subtle: rgba(255, 255, 255, 0.04);
--ygdren-border-color-subtle: rgba(255, 255, 255, 0.04);
--ygdren-color-surface-0: #000;
--ygdren-color-surface-1: #111;
--ygdren-color-surface-2: #222;
--ygdren-color-surface-3: #333;
--ygdren-color-surface-4: #444;
--ygdren-color-surface-5: #555;
}
 
/* LIGHT MODE */
@media screen and (prefers-color-scheme: light) {
:root.skin-theme-clientpref-os {
--ygdren-color-text: #1d1d1d;
--ygdren-color-emphasized: #0f1802;
--ygdren-color-subtle: #607d36;
--ygdren-color-faded: #afa796;
    --ygdren-color-inverted: #1d1d1d;
--ygdren-color-progressive: #507b07;
    --ygdren-color-progressive--hover: #588418;
    --ygdren-color-progressive--active: #4a710a;
   
    --ygdren-color-destructive: #bf3c2c;
    --ygdren-color-destructive--hover: #9f3526;
    --ygdren-color-destructive--active: #612419;
 
--ygdren-border-color-base: rgba(0, 0, 0, 0.08);
--ygdren-border-color-interactive: rgba(0, 0, 0, 0.11);
--ygdren-border-color-subtle: rgba(0, 0, 0, 0.05);
    --ygdren-color-surface-0: #f9f4ee;
    --ygdren-color-surface-1: #fffbf6;
    --ygdren-color-surface-2: #f6ede0;
    --ygdren-color-surface-3: #f0e3cf;
    --ygdren-color-surface-4: #e6d9c5;
    --ygdren-color-surface-5: #e3d2b8;
}
}
}


Line 84: Line 193:
--ygdren-color-emphasized: #0f1802;
--ygdren-color-emphasized: #0f1802;
--ygdren-color-subtle: #607d36;
--ygdren-color-subtle: #607d36;
--ygdren-color-faded: #afa796;
--ygdren-color-inverted: #1d1d1d;
--ygdren-color-progressive: #507b07;
--ygdren-color-progressive--hover: #588418;
--ygdren-color-progressive--active: #4a710a;
   
--ygdren-color-destructive: #bf3c2c;
--ygdren-color-destructive--hover: #9f3526;
--ygdren-color-destructive--active: #612419;


--ygdren-border-base: rgba(0, 0, 0, 0.08);
--ygdren-border-color-base: rgba(0, 0, 0, 0.08);
--ygdren-border-interactive: rgba(0, 0, 0, 0.11);
--ygdren-border-color-interactive: rgba(0, 0, 0, 0.11);
--ygdren-border-subtle: rgba(0, 0, 0, 0.05);
--ygdren-border-color-subtle: rgba(0, 0, 0, 0.05);
    --ygdren-color-surface-0: #f9f4ee;
--ygdren-color-surface-1: #fffbf6;
--ygdren-color-surface-2: #f6ede0;
--ygdren-color-surface-3: #f0e3cf;
--ygdren-color-surface-4: #e6d9c5;
--ygdren-color-surface-5: #e3d2b8;
}
}


Line 93: Line 219:
font-variant: lining-nums;
font-variant: lining-nums;
text-align: justify;
text-align: justify;
}
.ve-init-mw-desktopArticleTarget-categoryEdit {
display: none;
}
/* BLOCKQUOTE */
blockquote {
padding-left: 1rem;
border-left: 2px solid var(--ygdren-border-color-base);
font-style: italic;
/* Fallback for non-Chromium browsers */
text-wrap: balance;
/* Only works on Chromium browsers */
text-wrap: pretty;
}
blockquote cite {
color: var(--ygdren-color-faded);
font-size: var(--ygdren-font-size-x-small);
font-style: normal;
}
blockquote cite::before {
content: '―';
margin-right: 0.5em;
}
blockquote > p:first-child::before {
content: open-quote;
}
/* <cite> is wrapped in the last <p> */
blockquote:has(cite) > p:nth-last-child(2)::after,
blockquote:not(:has(cite)) > p:last-child::after {
content: close-quote;
}
.ygdren-glyph-grid {
--cell-width: 5.5em;
--gap: 0.5em;
    --max-cols: 8;
   
    display: grid;
    grid-template-columns: repeat(auto-fit, var(--cell-width));
    justify-content: center;
    gap: 1.2em var(--gap);
    max-width: calc(var(--max-cols) * var(--cell-width) + (var(--max-cols) - 1) * var(--gap));
    margin: 1em auto;
    text-align: center;
}
/* To make images responsive */
.responsive-img img {
max-width:100%;
height:auto;
}
.responsive-img .item img {
margin-bottom:10px;
}
.responsive-img .clickable a:hover {
opacity: 0.6;
transition: opacity .3s ease-out;
}
.responsive-img p {
margin:0px;
}
.responsive-img .portal img {
    object-fit: cover;
}
.responsive-img .portal p {
margin:0px;
display:grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
grid-column-gap: 0;
grid-row-gap: 0;
}
}

Latest revision as of 13:14, 20 November 2026

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charis+SIL:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {	
	/* FONTS */
	--ygdren-font-family-header: 'EB Garamond', serif;
	--ygdren-font-family-body: 'Lora', serif;
	
	--ygdren-font-size-x-small: 0.8125rem;
	--ygdren-font-size-small: 0.875rem;
	--ygdren-font-size-medium: 1rem;
	--ygdren-font-size-large: 1.125rem;
	--ygdren-font-size-x-large: 1.25rem;
	--ygdren-font-size-xx-large: 1.5rem;
	--ygdren-font-size-xxx-large: 2rem;
	
	--ygdren-font-weight-regular: 400;
    --ygdren-font-weight-medium: 500;
    --ygdren-font-weight-semibold: 600;
	
	--ygdren-line-height: 1.6;
	--ygdren-line-height-xx-small: 1.375;
	--ygdren-line-height-xxx-small: 1.25;
	
	/* BORDERS */
	--ygdren-border-base: 1px solid var(--ygdren-border-color-base);
	
	--ygdren-border-radius-sharp: 0;
	--ygdren-border-radius-small: 4px;
	--ygdren-border-radius-medium: 8px;
	--ygdren-border-radius-large: 12px;
	--ygdren-border-radius-pill: 9999px;
	--ygdren-border-radius-circle: 50%;

	--ygdren-color-infobox: color-mix(in srgb, var(--ygdren-color-surface-2), transparent 80%);
}

/* DARK MODE */
@media screen and (prefers-color-scheme: dark) {
	:root.skin-theme-clientpref-os.citizen-feature-pure-black-clientpref-0 {
		--filter-invert: invert(1) hue-rotate(180deg);
		
		--ygdren-color-text: #e7e8e9;
		--ygdren-color-emphasized: #fefdfc;
		--ygdren-color-subtle: #cbbba1;
		--ygdren-color-faded: #7D8491;
    	--ygdren-color-inverted: #0d1117;
		
	    --ygdren-color-progressive: #ffc15b;
    	--ygdren-color-progressive--hover: #ffcd7c;
    	--ygdren-color-progressive--active: #e6ae52;
    	
    	--ygdren-color-destructive: #bf3c2c;
    	--ygdren-color-destructive--hover: #9f3526;
    	--ygdren-color-destructive--active: #612419;

		--ygdren-border-color-base: rgba(255, 255, 255, 0.05);
		--ygdren-border-color-interactive: rgba(255, 255, 255, 0.08);
		--ygdren-border-color-subtle: rgba(255, 255, 255, 0.02);
		
	    --ygdren-color-surface-0: #0d1117;
    	--ygdren-color-surface-1: #0c0f15;
    	--ygdren-color-surface-2: #12141e;
    	--ygdren-color-surface-3: #181b26;
    	--ygdren-color-surface-4: #ff00ff;
		--ygdren-color-surface-5: #ff00ff;
	}

	:root.skin-theme-clientpref-os.citizen-feature-pure-black-clientpref-1 {
		--filter-invert: invert(1) hue-rotate(180deg);
		
		--ygdren-color-text: #f5f5f5;
		--ygdren-color-emphasized: #f2f2f2;
		--ygdren-color-subtle: #a6a6a6;
		--ygdren-color-faded: #afa796;
    	--ygdren-color-inverted: #ffffff;
		
		--ygdren-color-progressive: #f1c45e;
    	--ygdren-color-progressive--hover: #ffd16b;
    	--ygdren-color-progressive--active: #e4b750;
    	
    	--ygdren-color-destructive: #bf3c2c;
    	--ygdren-color-destructive--hover: #9f3526;
    	--ygdren-color-destructive--active: #612419;

		--ygdren-border-color-base: rgba(255, 255, 255, 0.08);
		--ygdren-border-color-interactive: rgba(255, 255, 255, 0.1);
		--ygdren-border-color-subtle: rgba(255, 255, 255, 0.04);
		
		--ygdren-color-surface-0: #000;
    	--ygdren-color-surface-1: #111;
    	--ygdren-color-surface-2: #222;
    	--ygdren-color-surface-3: #333;
    	--ygdren-color-surface-4: #444;
    	--ygdren-color-surface-5: #555;
	}
}

:root.skin-theme-clientpref-night.citizen-feature-pure-black-clientpref-0 {
	--filter-invert: invert(1) hue-rotate(180deg);
	
	--ygdren-color-text: #e7e8e9;
	--ygdren-color-emphasized: #fefdfc;
	--ygdren-color-subtle: #cbbba1;
	--ygdren-color-faded: #7D8491;
	--ygdren-color-inverted: #0d1117;
		
    --ygdren-color-progressive: #ffc15b;
	--ygdren-color-progressive--hover: #ffcd7c;
	--ygdren-color-progressive--active: #e6ae52;
    	
	--ygdren-color-destructive: #bf3c2c;
	--ygdren-color-destructive--hover: #9f3526;
	--ygdren-color-destructive--active: #612419;

	--ygdren-border-color-base: rgba(255, 255, 255, 0.05);
	--ygdren-border-color-interactive: rgba(255, 255, 255, 0.08);
	--ygdren-border-color-subtle: rgba(255, 255, 255, 0.02);
	
    --ygdren-color-surface-0: #0d1117;
	--ygdren-color-surface-1: #0c0f15;
	--ygdren-color-surface-2: #12141e;
	--ygdren-color-surface-3: #181b26;
	--ygdren-color-surface-4: #ff00ff;
	--ygdren-color-surface-5: #ff00ff;
}

:root.skin-theme-clientpref-night.citizen-feature-pure-black-clientpref-1 {
	--filter-invert: invert(1) hue-rotate(180deg);
	
	--ygdren-color-text: #f5f5f5;
	--ygdren-color-emphasized: #f2f2f2;
	--ygdren-color-subtle: #a6a6a6;
	--ygdren-color-faded: #afa796;
	--ygdren-color-inverted: #ffffff;
		
	--ygdren-color-progressive: #f1c45e;
	--ygdren-color-progressive--hover: #ffd16b;
	--ygdren-color-progressive--active: #e4b750;
    	
	--ygdren-color-destructive: #bf3c2c;
	--ygdren-color-destructive--hover: #9f3526;
	--ygdren-color-destructive--active: #612419;

	--ygdren-border-color-base: rgba(255, 255, 255, 0.08);
	--ygdren-border-color-interactive: rgba(255, 255, 255, 0.1);
	--ygdren-border-color-subtle: rgba(255, 255, 255, 0.04);
		
	--ygdren-color-surface-0: #000;
	--ygdren-color-surface-1: #111;
	--ygdren-color-surface-2: #222;
	--ygdren-color-surface-3: #333;
	--ygdren-color-surface-4: #444;
	--ygdren-color-surface-5: #555;
}

/* LIGHT MODE */
@media screen and (prefers-color-scheme: light) {
	:root.skin-theme-clientpref-os {
		--ygdren-color-text: #1d1d1d;
		--ygdren-color-emphasized: #0f1802;
		--ygdren-color-subtle: #607d36;
		--ygdren-color-faded: #afa796;
    	--ygdren-color-inverted: #1d1d1d;
		
		--ygdren-color-progressive: #507b07;
    	--ygdren-color-progressive--hover: #588418;
    	--ygdren-color-progressive--active: #4a710a;
    	
    	--ygdren-color-destructive: #bf3c2c;
    	--ygdren-color-destructive--hover: #9f3526;
    	--ygdren-color-destructive--active: #612419;

		--ygdren-border-color-base: rgba(0, 0, 0, 0.08);
		--ygdren-border-color-interactive: rgba(0, 0, 0, 0.11);
		--ygdren-border-color-subtle: rgba(0, 0, 0, 0.05);
		
	    --ygdren-color-surface-0: #f9f4ee;
    	--ygdren-color-surface-1: #fffbf6;
    	--ygdren-color-surface-2: #f6ede0;
    	--ygdren-color-surface-3: #f0e3cf;
    	--ygdren-color-surface-4: #e6d9c5;
    	--ygdren-color-surface-5: #e3d2b8;
	}
}

:root.skin-theme-clientpref-day {
	--ygdren-color-text: #1d1d1d;
	--ygdren-color-emphasized: #0f1802;
	--ygdren-color-subtle: #607d36;
	--ygdren-color-faded: #afa796;
	--ygdren-color-inverted: #1d1d1d;
		
	--ygdren-color-progressive: #507b07;
	--ygdren-color-progressive--hover: #588418;
	--ygdren-color-progressive--active: #4a710a;
    	
	--ygdren-color-destructive: #bf3c2c;
	--ygdren-color-destructive--hover: #9f3526;
	--ygdren-color-destructive--active: #612419;

	--ygdren-border-color-base: rgba(0, 0, 0, 0.08);
	--ygdren-border-color-interactive: rgba(0, 0, 0, 0.11);
	--ygdren-border-color-subtle: rgba(0, 0, 0, 0.05);
	
    --ygdren-color-surface-0: #f9f4ee;
	--ygdren-color-surface-1: #fffbf6;
	--ygdren-color-surface-2: #f6ede0;
	--ygdren-color-surface-3: #f0e3cf;
	--ygdren-color-surface-4: #e6d9c5;
	--ygdren-color-surface-5: #e3d2b8;
}

html {
	font-variant: lining-nums;
	text-align: justify;
}

.ve-init-mw-desktopArticleTarget-categoryEdit {
	display: none;
}

/* BLOCKQUOTE */
blockquote {
	padding-left: 1rem;
	border-left: 2px solid var(--ygdren-border-color-base);
	font-style: italic;
	/* Fallback for non-Chromium browsers */
	text-wrap: balance;
	/* Only works on Chromium browsers */
	text-wrap: pretty;
}

blockquote cite {
	color: var(--ygdren-color-faded);
	font-size: var(--ygdren-font-size-x-small);
	font-style: normal;
}

blockquote cite::before {
	content: '―';
	margin-right: 0.5em;
}

blockquote > p:first-child::before {
	content: open-quote;
}

/* <cite> is wrapped in the last <p> */
blockquote:has(cite) > p:nth-last-child(2)::after,
blockquote:not(:has(cite)) > p:last-child::after {
	content: close-quote;
}

.ygdren-glyph-grid {
	--cell-width: 5.5em;
	--gap: 0.5em;
    --max-cols: 8;
    
    display: grid;
    grid-template-columns: repeat(auto-fit, var(--cell-width));
    justify-content: center;
    gap: 1.2em var(--gap);
    max-width: calc(var(--max-cols) * var(--cell-width) + (var(--max-cols) - 1) * var(--gap));
    margin: 1em auto;
    text-align: center;
}

/* To make images responsive */
.responsive-img img {
	max-width:100%;
	height:auto;
}

.responsive-img .item img {
	margin-bottom:10px;
}

.responsive-img .clickable a:hover {
	opacity: 0.6;
	transition: opacity .3s ease-out;
}

.responsive-img p {
	margin:0px;
}

.responsive-img .portal img {
    object-fit: cover;
}

.responsive-img .portal p {
	margin:0px;
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	grid-column-gap: 0;
	grid-row-gap: 0;
}