User:Thewarior/common.css: Difference between revisions
Appearance
css tests |
m modified all of that |
||
| Line 1: | Line 1: | ||
/* | /* User-specific layout test */ | ||
. | .wiki-grid { | ||
display: | display: grid; | ||
grid-template-columns: 2fr 1fr; /* Left column double the width of right */ | |||
gap: | gap: 1rem; | ||
margin-top: | margin-top: 1rem; | ||
} | } | ||
. | .wiki-card { | ||
border: 1px solid # | border: 1px solid #c8ccd1; | ||
background | background: #ffffff; | ||
padding: | padding: 1rem; | ||
box-shadow: 0 1px 1px rgba(0,0,0,0.05); | |||
} | } | ||
. | .wiki-card-header { | ||
border-bottom: 1px solid #a2a9b1; | |||
margin: -1rem -1rem 1rem -1rem; | |||
padding: 0.5rem 1rem; | |||
background: #f8f9fa; | |||
font-weight: bold; | font-weight: bold; | ||
font-family: 'Linux Libertine', 'Georgia', serif; | |||
font-size: 1.2rem; | |||
} | } | ||
/* Responsive adjustment for mobile/small screens */ | |||
@media (max-width: 720px) { | |||
.wiki-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
} | } | ||
Latest revision as of 17:40, 2 April 2026
/* User-specific layout test */
.wiki-grid {
display: grid;
grid-template-columns: 2fr 1fr; /* Left column double the width of right */
gap: 1rem;
margin-top: 1rem;
}
.wiki-card {
border: 1px solid #c8ccd1;
background: #ffffff;
padding: 1rem;
box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.wiki-card-header {
border-bottom: 1px solid #a2a9b1;
margin: -1rem -1rem 1rem -1rem;
padding: 0.5rem 1rem;
background: #f8f9fa;
font-weight: bold;
font-family: 'Linux Libertine', 'Georgia', serif;
font-size: 1.2rem;
}
/* Responsive adjustment for mobile/small screens */
@media (max-width: 720px) {
.wiki-grid {
grid-template-columns: 1fr;
}
}