MediaWiki:Common.css: Difference between revisions
From Comprehensible Input Wiki
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
/* Info boxes */ |
|||
/* Main Page - Getting started box */ |
|||
#starting, #summary_link, #mhthanks, #ciw-key-div, #newUrlDiv{ |
|||
#starting { |
|||
border-style: solid; |
|||
border-color: green; |
border-color: green; |
||
padding: 10px; |
padding: 10px; |
||
Line 12: | Line 12: | ||
} |
} |
||
⚫ | |||
/* Main Page - Summary info */ |
|||
⚫ | |||
border-style: solid; |
|||
border-color: green; |
|||
padding: 10px; |
|||
width: 80%; |
|||
margin: 28px auto; |
|||
border-radius: 10px; |
|||
background-color: lightyellow; |
|||
text-align: center; |
text-align: center; |
||
} |
} |
||
⚫ | |||
#mhthanks { |
|||
border-style: solid; |
|||
border-color: green; |
|||
padding: 10px; |
|||
width: 50%; |
|||
margin: 28px auto; |
|||
border-radius: 10px; |
|||
background-color: lightyellow; |
|||
text-align: center; |
|||
} |
|||
/* Key template */ |
|||
⚫ | |||
width:max-content; |
width:max-content; |
||
margin:auto; |
margin:auto; |
||
border-style: solid; |
|||
border-color: green; |
|||
padding: 10px; |
|||
border-radius: 10px; |
|||
background-color: lightyellow; |
|||
} |
} |
||
Line 53: | Line 28: | ||
#searchinputbox .mw-inputbox-centered > form { |
#searchinputbox .mw-inputbox-centered > form { |
||
width: min-content; |
width: min-content; |
||
} |
|||
/* New URL box */ |
|||
#newUrlDiv { |
|||
width:max-content; |
|||
margin:auto; |
|||
border-style: solid; |
|||
border-color: green; |
|||
padding: 10px; |
|||
border-radius: 10px; |
|||
background-color: lightyellow; |
|||
} |
|||
/* Modal popup to redirect */ |
|||
.modalDialog { |
|||
position: fixed; |
|||
font-family: Arial, Helvetica, sans-serif; |
|||
top: 0; |
|||
right: 0; |
|||
bottom: 0; |
|||
left: 0; |
|||
background: rgba(0,0,0,0.8); |
|||
z-index: 99999; |
|||
opacity:0; |
|||
transition: opacity 400ms ease-in; |
|||
pointer-events: none; |
|||
} |
|||
.modalDialog:target { |
|||
opacity:1; |
|||
pointer-events: auto; |
|||
} |
|||
.modalDialog > div { |
|||
position: relative; |
|||
width: 50%; |
|||
height:auto; |
|||
margin: 10% auto; |
|||
padding: 5px 20px 13px 20px; |
|||
border-radius: 10px; |
|||
background: #fff; |
|||
background: linear-gradient(#fff, #999); |
|||
} |
|||
.modalDialog img { |
|||
width:100%; |
|||
height:auto; |
|||
} |
|||
.close { |
|||
background: #606061; |
|||
color: #fff; |
|||
line-height: 25px; |
|||
position: absolute; |
|||
right: -12px; |
|||
text-align: center; |
|||
top: -10px; |
|||
width: 24px; |
|||
text-decoration: none; |
|||
font-weight: bold; |
|||
border-radius: 12px; |
|||
box-shadow: 1px 1px 3px #000; |
|||
} |
|||
.close:hover { |
|||
background: #00d9ff; |
|||
} |
} |
Revision as of 18:39, 1 February 2023
/* CSS placed here will be applied to all skins */
/* Info boxes */
#starting, #summary_link, #mhthanks, #ciw-key-div, #newUrlDiv{
border-style: solid;
border-color: green;
padding: 10px;
width: 80%;
margin:28px auto;
border-radius: 10px;
background-color: lightyellow;
}
#summary_link, #mhthanks {
text-align: center;
}
#ciw-key-div, #newUrlDiv {
width:max-content;
margin:auto;
}
/* MediaWiki:Searchmenu-new - Input box */
#searchinputbox br {
display:none;
}
#searchinputbox .mw-inputbox-centered > form {
width: min-content;
}