Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cc-by-sa-layout/styles.css: Difference between revisions

Template page
make it compatible with dark mode
m 10 revisions imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.responsive-license-cc {
/**
* IMPORTANT:
*
* These styles are copied to [[MediaWiki:Filepage.css]].
* If you make any changes here, make sure to update that page as well.
*
* When previewing changes, you must use a file outside the File namespace.
*
* See [[Module talk:Information/styles.css]] (which is related) for details.
*/
.responsive-license-cc {
     clear: both;  
     clear: both;  
     text-align: center;
     text-align: center;
Line 8: Line 19:
     margin: 0.5em auto;
     margin: 0.5em auto;
     color: var(--color-base, #202122);
     color: var(--color-base, #202122);
     background-color: var(--background-color-neutral-subtle, #f9f9f9);
     background-color: var(--background-color-neutral-subtle, #f9f8fa);
     border-width: 2px;
     border-width: 2px;
     border-style: solid;
     border-style: solid;
     border-top-color: var(--border-color-subtle, #e0e0e0);
     border-top-color: var(--border-color-subtle, #c8ccd1);
     border-right-color: var(--border-color-subtle, #e0e0e0);
     border-right-color: var(--border-color-subtle, #c8ccd1);
     border-bottom-color: var(--border-color-subtle, #e0e0e0);
     border-bottom-color: var(--border-color-subtle, #c8ccd1);
     border-left-color: var(--border-color-subtle, #e0e0e0);
     border-left-color: var(--border-color-subtle, #c8ccd1);
     border-spacing: 8px;
     border-spacing: 8px;
     display: flex;
     display: flex;
    padding: 0px;
}
}
.responsive-license-cc div {
.responsive-license-cc div {
Line 24: Line 36:
margin: 0.5em auto;
margin: 0.5em auto;
}
}
 
.rlicense-desc dd {
    margin-left: 1em;
}
@media screen and (max-width: 640px) { /* For mobile devices */
@media screen and (max-width: 640px) { /* For mobile devices */
.responsive-license-cc {
.responsive-license-cc {

Latest revision as of 06:06, 9 August 2026

/**
 * IMPORTANT:
 *
 * These styles are copied to [[MediaWiki:Filepage.css]].
 * If you make any changes here, make sure to update that page as well.
 *
 * When previewing changes, you must use a file outside the File namespace.
 *
 * See [[Module talk:Information/styles.css]] (which is related) for details.
 */
 
 .responsive-license-cc {
    clear: both; 
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin: 0.5em auto;
    color: var(--color-base, #202122);
    background-color: var(--background-color-neutral-subtle, #f9f8fa);
    border-width: 2px;
    border-style: solid;
    border-top-color: var(--border-color-subtle, #c8ccd1);
    border-right-color: var(--border-color-subtle, #c8ccd1);
    border-bottom-color: var(--border-color-subtle, #c8ccd1);
    border-left-color: var(--border-color-subtle, #c8ccd1);
    border-spacing: 8px;
    display: flex;
    padding: 0px;
}
.responsive-license-cc div {
	margin: 4px;
}
.rlicense-text div {
	margin: 0.5em auto;
}
.rlicense-desc dd {
    margin-left: 1em;
}
@media screen and (max-width: 640px) { /* For mobile devices */
	.responsive-license-cc {
		flex-flow: column;
	}
	.rlicense-text {
		order: 1;
	}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.