Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Module:ScopeBox/styles.css: Difference between revisions

From Amaranth Legacy, available at amaranth-legacy.community
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
.scope-box {
@media screen {
/* make sure this displays correctly */
.scope-box {
display: inline-block;
/* make sure this displays correctly */
/* fill the entire width of the container */
display: inline-block;
width: 100%;
/* fill the entire width of the container */
/* add a little shadow around the box */
width: 100%;
/* add a little shadow around the box */
box-shadow: 0 0 10px black;
/* center the text */
box-shadow: 0 0 10px black;
/* center the text */
text-align: center;
}
text-align: center;
}


.scope-box a {
.scope-box a {
/* make sure this displays correctly */
/* make sure this displays correctly */
display: inline-block;
display: inline-block;
/* fill the entire width of the container */
/* fill the entire width of the container */
width: 100%;
width: 100%;
/* blur the background */
/* blur the background */
backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
/* use the background as text color */
/* use the background as text color */
background-clip: text;
background-clip: text;
/* font settings */
/* font settings */
font-family: var(--font-family-serif) !important;
font-family: var(--font-family-serif) !important;
font-size: 300% !important;
font-size: 300% !important;
}
}
}

Revision as of 22:05, February 2, 2025

.scope-box {
	/* make sure this displays correctly */
	display: inline-block;
	/* fill the entire width of the container */
	width: 100%;
	/* add a little shadow around the box */
	box-shadow: 0 0 10px black;
	/* center the text */
	text-align: center;
}

.scope-box a {
	/* make sure this displays correctly */
	display: inline-block;
	/* fill the entire width of the container */
	width: 100%;
	/* blur the background */
	backdrop-filter: blur(2px);
	/* use the background as text color */
	background-clip: text;
	/* font settings */
	font-family: var(--font-family-serif) !important;
	font-size: 300% !important;
}