Difference between revisions of "MediaWiki:Common.css"
MediaWiki interface page
Views
Actions
Namespaces
Variants
Tools
(home css) |
|||
Line 44: | Line 44: | ||
margin-top:0; | margin-top:0; | ||
font-size:1rem | font-size:1rem | ||
} | |||
.home-grid { | |||
display:grid; | |||
grid:auto-flow dense/repeat(auto-fit,minmax(9.375rem,1fr)); | |||
grid-auto-rows:minmax(3rem,auto); | |||
grid-gap:0.625rem | |||
} | |||
.home-card--col2 { | |||
grid-column:span 2 | |||
} | |||
.home-card--row3 { | |||
grid-row:span 3 | |||
} | } |
Revision as of 14:53, 15 July 2022
/* CSS placed here will be applied to all skins */
/*@import url("https://cdn.jsdelivr.net/npm/uikit@3.7.1/dist/css/uikit.min.css");*/
@import url( 'https://fonts.googleapis.com/css?family=Comfortaa|Noto+Serif ');
h1, h2, h3, h4, h5, h6{
border: none !important;
}
hr {
height:0px;
}
html, body{
height:0px !important;
}
#mw-panel .portal .body ul {
padding-left: 0px !important;
}
.firstHeading{
margin-top: 10px !important;
}
#content h1,
#content h2 {
font-family: "Comfortaa", serif;
}
pre, code, .mw-code{
color: gray;
border-radius: 5px;
}
.mw-pt-languages{
border-radius: 5px;
}
.home-card {
position:relative;
padding:15px;
background:var(--color-surface-1);
border-radius:8px;
box-shadow:0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
font-size:0.875rem
}
.home-card-label {
color:var(--color-base--subtle);
font-size:0.8125rem;
letter-spacing:0.75px
}
h3.home-card-header {
margin-top:0;
font-size:1rem
}
.home-grid {
display:grid;
grid:auto-flow dense/repeat(auto-fit,minmax(9.375rem,1fr));
grid-auto-rows:minmax(3rem,auto);
grid-gap:0.625rem
}
.home-card--col2 {
grid-column:span 2
}
.home-card--row3 {
grid-row:span 3
}