Manjaro Difference between revisions of "MediaWiki:Common.css"

Difference between revisions of "MediaWiki:Common.css"

MediaWiki interface page
(added hr)
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@import url("https://cdn.jsdelivr.net/npm/uikit@3.5.8/dist/css/uikit.min.css");
/*@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{
h1, h2, h3, h4, h5, h6{
border: none !important;
border: none !important;
}
}
hr {
hr {
  background-color:none !important;
height:0px;
  border:0;
  margin:0.2em 0
}
.card {
    position: relative;
    margin: .5rem 0 1rem 0;
    background-color: #fff;
    -webkit-transition: -webkit-box-shadow .25s;
    transition: -webkit-box-shadow .25s;
    transition: box-shadow .25s;
    transition: box-shadow .25s, -webkit-box-shadow .25s;
    border-radius: 2px;
}
}
.z-depth-1, nav, .card-panel, .card {
html, body{
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
height:0px !important;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
}
}
.card .card-content {
#mw-panel .portal .body ul {
    padding: 24px;
padding-left: 0px !important;
    border-radius: 0 0 2px 2px;
}
}
.card a:link {
.firstHeading{
  color: #90caf9;
margin-top: 10px !important;
}
}
.card .unpatrolled{
#content h1,
color:#dce775 !important;
#content h2 {
  font-family: "Comfortaa", serif;
}
}
.card .mw-plusminus-pos{
pre, code, .mw-code{
color: #b2dfdb !important;
color: gray;
border-radius: 5px;
}
}
/* visited link */
.mw-pt-languages{
.card a:visited {
border-radius: 5px;
  color: #e3f2fd;
}
}
 
.home-card {
/* mouse over link */
position:relative;
.card a:hover {
padding:15px;
  color: #e3f2fd;
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 {
.card h4 {
color:var(--color-base--subtle);
color: #fff !important;
font-size:0.8125rem;
}
letter-spacing:0.75px
.white-text {
    color: #fff !important;
}
}
.green-background {
h3.home-card-header {
background-color: #4caf50 !important;
margin-top:0;
font-size:1rem
}
}
.card .card-content .card-title {
.home-grid {
    display: block;
display:grid;
    line-height: 32px;
grid:auto-flow dense/repeat(auto-fit,minmax(9.375rem,1fr));
    margin-bottom: 8px;
grid-auto-rows:minmax(3rem,auto);
grid-gap:0.625rem
}
}
.card .card-title {
.home-card-col2 {
    font-size: 24px;
grid-column:span 2
    font-weight: 300;
}
}
.card .card-action:last-child {
.home-card-row3 {
    border-radius: 0 0 2px 2px;
grid-row:span 3
}
}
.card .card-action {
.home-link-button {
    background-color: inherit;
display:flex;
    border-top: 1px solid rgba(160,160,160,0.2);
margin-top:15px;
    position: relative;
}
    padding: 16px 24px;
.home-link-button a {
flex-grow:1;
padding:0.3rem 0.6rem;
border:1px solid;
border-color:var(--border-color-base);
background:var(--background-color-framed);
border-radius:8px;
color:var(--color-base--emphasized)
}
.home-link-button a:hover {
background:var(--background-color-framed--hover)
}
.home-link-button a:active {
background:var(--background-color-framed--active)
}
.mw-pt-languages-list a{
padding:0.3rem 0.6rem;
border:1px solid;
border-color:var(--border-color-base);
background:var(--background-color-framed);
border-radius:8px;
color:var(--color-base--emphasized);
line-height:2;
}
}

Latest revision as of 16:22, 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
}
.home-link-button {
 display:flex;
 margin-top:15px;
}
.home-link-button a {
 flex-grow:1;
 padding:0.3rem 0.6rem;
 border:1px solid;
 border-color:var(--border-color-base);
 background:var(--background-color-framed);
 border-radius:8px;
 color:var(--color-base--emphasized)
}
.home-link-button a:hover {
 background:var(--background-color-framed--hover)
}
.home-link-button a:active {
 background:var(--background-color-framed--active)
}
.mw-pt-languages-list a{
 padding:0.3rem 0.6rem;
 border:1px solid;
 border-color:var(--border-color-base);
 background:var(--background-color-framed);
 border-radius:8px;
 color:var(--color-base--emphasized);
 line-height:2;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.