MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
wikia:mysterydungeon>Yggdrasilmamel45 No edit summary |
wikia:mysterydungeon>Yggdrasilmamel45 (Testing widget css) |
||
Line 151: | Line 151: | ||
and (min-device-width : 320px) | and (min-device-width : 320px) | ||
and (max-device-width : 480px){ .mobileHide { display: none;}} | and (max-device-width : 480px){ .mobileHide { display: none;}} | ||
body { | |||
background: -moz-linear-gradient(top, #25303C 0%, #728EAA 100%); | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#25303C), color-stop(100%,#728EAA)); | |||
background-image: url(../mystery_dungeon__shiren_the_wanderer_wall_1.jpg); | |||
background-size: cover; | |||
} | |||
#sskey { | |||
width: 450px; margin: 60px auto; padding: 40px 30px; | |||
background: #c9d0de; border: 1px solid #e1e1e1; | |||
opacity: 0.9; | |||
-moz-box-shadow: 0px 0px 8px #444; | |||
-webkit-box-shadow: 0px 0px 8px #444; | |||
} | |||
h2 { | |||
font-size: 35px; color: #445668; text-transform: uppercase; | |||
text-align: center; margin: 0 0 25px 0; text-shadow: 0px 1px 0px #f2f2f2; | |||
} | |||
p { | |||
text-align: center; margin: 0px 0 25px 0; | |||
} | |||
label { | |||
float: left; clear: left; margin: 7px 20px 0 0; width: 95px; | |||
text-align: right; font-size: 14px; color: #445668; | |||
text-transform: uppercase; text-shadow: 0px 1px 0px #f2f2f2; | |||
} | |||
input { | |||
width: 280px; height: 35px; padding: 5px 20px 0px 20px; margin: 0 0 20px 0; | |||
background: #5E768D; | |||
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */ | |||
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; | |||
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2; | |||
font-family: sans-serif; font-size: 16px; color: #f2f2f2; text-shadow: 0px -1px 0px #334f71; | |||
} | |||
input::-webkit-input-placeholder { | |||
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b; | |||
} | |||
input:-moz-placeholder { | |||
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b; | |||
} | |||
textarea { | |||
width: 280px; height: 110px; padding: 12px 20px 0px 20px; margin: 0 0 10px 0; | |||
background: #5E768D; | |||
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */ | |||
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; | |||
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2; | |||
font-family: monospace; font-size: 18px; color: #f2f2f2; | |||
/* text-transform: uppercase; */ | |||
text-shadow: 0px -1px 0px #334f71; | |||
} | |||
textarea::-webkit-input-placeholder { | |||
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b; | |||
} | |||
textarea:-moz-placeholder { | |||
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b; | |||
} | |||
input:focus, textarea:focus { | |||
background: #728eaa; | |||
background: -moz-linear-gradient(top, #668099 0%, #728eaa 20%); /* firefox */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#668099), color-stop(20%,#728eaa)); /* webkit */ | |||
} | |||
input[type=submit], input[type=reset] { | |||
width: 320px; height: 52px; float: right; padding: 10px 15px; margin: 0 15px 0 0; | |||
-moz-box-shadow: 0px 0px 5px #999;-webkit-box-shadow: 0px 0px 5px #999; | |||
border: 1px solid #556f8c; | |||
background: -moz-linear-gradient(top, #718DA9 0%, #415D79 100%); /* firefox */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#718DA9), color-stop(100%,#415D79)); /* webkit */ | |||
cursor: pointer; | |||
} | |||
input[id='name'] { | |||
width: 300px; height: 35px; padding: 0px 10px 0px 10px; margin: 0 0 15px 0; | |||
background: #5E768D; | |||
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */ | |||
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; | |||
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2; | |||
font-family: sans-serif; font-size: 15px; color: #f2f2f2; | |||
/* text-transform: uppercase; */ | |||
text-shadow: 0px -1px 0px #334f71; | |||
} | |||
input[id='dungeon']{ | |||
width: 220px; height: 35px; padding: 0px 15px 0px 15px; margin: 0 10px 15px 0; | |||
background: #5E768D; | |||
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */ | |||
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; | |||
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2; | |||
font-family: sans-serif; font-size: 15px; color: #f2f2f2; | |||
/* text-transform: uppercase; */ | |||
text-shadow: 0px -1px 0px #334f71; | |||
} | |||
input[id='level'] { | |||
width: 35px; height: 35px; padding: 0px 10px 0px 10px; margin: 0 0 15px 0; | |||
background: #5E768D; | |||
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */ | |||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */ | |||
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; | |||
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2; | |||
font-family: sans-serif; font-size: 15px; color: #f2f2f2; | |||
/* text-transform: uppercase; */ | |||
text-shadow: 0px -1px 0px #334f71; | |||
} |
Revision as of 00:26, 5 December 2019
/* CSS placed here will be applied to all skins */
/* This governs the sections on the Community portal */
.cpbox {
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
}
.cpbox #admins {
box-sizing: border-box;
width: calc(33% - 10px);
margin: 5px;
flex-grow: 1;
min-width: 300px;
}
.cpbox #help {
box-sizing: border-box;
width: calc(67% - 10px);
margin: 5px;
flex-grow: 1;
}
/* Template documentation styles */
/* If modifying these styles, be sure to update the mobile skin! */
.doc {
margin: 0em auto 1em;
background-color: rgba(0, 0, 0, 0.1);
border: 2px solid #BDCAC3;
border-radius: 1em;
padding: 1em;
}
.doc-header {
padding-bottom: 3px;
border-bottom: 1px solid #BDCAC3;
margin-bottom: 1ex;
}
.doc-footer {
margin: 0;
background-color: rgba(0, 0, 0, 0.1);
border: 2px solid #BDCAC3;
border-radius: 1em;
padding: 1em;
}
/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
.desktopleft {
text-align: left;
}
.desktopcenter {
text-align: center;
}
.desktopright {
text-align: right;
}
/* this CSS governs the responsive 2 column main page layout */
#fp-container {
display: grid;
grid-template-areas: "a" "b" "c";
grid-template-columns: 100%;
}
#fp-container main .columns .leftcol,
#fp-container .columns .rightcol {
width: 100%;
margin: 0;
padding: 0;
}
@media screen and (min-width:650px) {
#fp-container .columns .leftcol {
float: left;
width: 50%;
}
#fp-container .columns .rightcol {
float: right;
width: 50%;
}
}
@media screen and (min-width:990px) {
#fp-container {
grid-template-areas: "a b" "c c";
grid-template-columns: 50% 50%;
}
}
@media screen and (min-width:1350px) {
#fp-container {
grid-template-areas: "a b" "c b";
grid-template-columns: auto 520px;
}
}
.fp-section {
display: flex;
flex-wrap: wrap;
}
#fp-top {
grid-area: a;
}
#fp-flex {
grid-area: b;
}
#fp-bottom {
grid-area: c;
}
/* Sidebar Discord embed */
#mw-panel .portal .body ul {
min-width: calc(0.5em + 119px);
}
div#mw-panel div.portal li a[href="https://discord.gg/4dKnfpW"] {
display: inline-block;
position:relative;
height: 20px;
width: 119px;
}
div#mw-panel div.portal li a[href="https://discord.gg/4dKnfpW"]::before {
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
content:"";
background:url(https://discordapp.com/api/guilds/502973274125238284/embed.png) no-repeat;
}
.mobile-only { display: none;}
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .mobileShow { display: inline;}}
.desktop-only { display: inline;}
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .mobileHide { display: none;}}
body {
background: -moz-linear-gradient(top, #25303C 0%, #728EAA 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#25303C), color-stop(100%,#728EAA));
background-image: url(../mystery_dungeon__shiren_the_wanderer_wall_1.jpg);
background-size: cover;
}
#sskey {
width: 450px; margin: 60px auto; padding: 40px 30px;
background: #c9d0de; border: 1px solid #e1e1e1;
opacity: 0.9;
-moz-box-shadow: 0px 0px 8px #444;
-webkit-box-shadow: 0px 0px 8px #444;
}
h2 {
font-size: 35px; color: #445668; text-transform: uppercase;
text-align: center; margin: 0 0 25px 0; text-shadow: 0px 1px 0px #f2f2f2;
}
p {
text-align: center; margin: 0px 0 25px 0;
}
label {
float: left; clear: left; margin: 7px 20px 0 0; width: 95px;
text-align: right; font-size: 14px; color: #445668;
text-transform: uppercase; text-shadow: 0px 1px 0px #f2f2f2;
}
input {
width: 280px; height: 35px; padding: 5px 20px 0px 20px; margin: 0 0 20px 0;
background: #5E768D;
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2;
font-family: sans-serif; font-size: 16px; color: #f2f2f2; text-shadow: 0px -1px 0px #334f71;
}
input::-webkit-input-placeholder {
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b;
}
input:-moz-placeholder {
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b;
}
textarea {
width: 280px; height: 110px; padding: 12px 20px 0px 20px; margin: 0 0 10px 0;
background: #5E768D;
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2;
font-family: monospace; font-size: 18px; color: #f2f2f2;
/* text-transform: uppercase; */
text-shadow: 0px -1px 0px #334f71;
}
textarea::-webkit-input-placeholder {
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b;
}
textarea:-moz-placeholder {
color: #a1b2c3; text-shadow: 0px -1px 0px #38506b;
}
input:focus, textarea:focus {
background: #728eaa;
background: -moz-linear-gradient(top, #668099 0%, #728eaa 20%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#668099), color-stop(20%,#728eaa)); /* webkit */
}
input[type=submit], input[type=reset] {
width: 320px; height: 52px; float: right; padding: 10px 15px; margin: 0 15px 0 0;
-moz-box-shadow: 0px 0px 5px #999;-webkit-box-shadow: 0px 0px 5px #999;
border: 1px solid #556f8c;
background: -moz-linear-gradient(top, #718DA9 0%, #415D79 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#718DA9), color-stop(100%,#415D79)); /* webkit */
cursor: pointer;
}
input[id='name'] {
width: 300px; height: 35px; padding: 0px 10px 0px 10px; margin: 0 0 15px 0;
background: #5E768D;
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2;
font-family: sans-serif; font-size: 15px; color: #f2f2f2;
/* text-transform: uppercase; */
text-shadow: 0px -1px 0px #334f71;
}
input[id='dungeon']{
width: 220px; height: 35px; padding: 0px 15px 0px 15px; margin: 0 10px 15px 0;
background: #5E768D;
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2;
font-family: sans-serif; font-size: 15px; color: #f2f2f2;
/* text-transform: uppercase; */
text-shadow: 0px -1px 0px #334f71;
}
input[id='level'] {
width: 35px; height: 35px; padding: 0px 10px 0px 10px; margin: 0 0 15px 0;
background: #5E768D;
background: -moz-linear-gradient(top, #546A7F 0%, #5E768D 20%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#546A7F), color-stop(20%,#5E768D)); /* webkit */
border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2;
font-family: sans-serif; font-size: 15px; color: #f2f2f2;
/* text-transform: uppercase; */
text-shadow: 0px -1px 0px #334f71;
}