Difference between revisions of "MediaWiki:Gadget-site.css"

From Caiyun Wiki
Jump to: navigation, search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
.mw-wiki-logo {
 +
    background-size: 135px 135px;
 +
}
 +
 
.externalimage-holder {
 
.externalimage-holder {
 
     position: relative;
 
     position: relative;
Line 8: Line 12:
  
 
.tianqi {
 
.tianqi {
   float: right;
+
   float: left;
  width:25em;
 
  min-height:320px;
 
 
   background: #fff;
 
   background: #fff;
 
   border-radius: .2em;
 
   border-radius: .2em;
 
   padding-top:1em;
 
   padding-top:1em;
   padding-left: 1em;
+
   padding-bottom: 1em;
  padding-right:1em;
 
 
}
 
}
  
Line 21: Line 22:
 
   font-family: Roboto;
 
   font-family: Roboto;
 
   font-weight: 300;
 
   font-weight: 300;
   font-size: 1em;
+
   font-size: 1.2em;
  color:#5b5b5b;
 
}
 
 
 
.menu {
 
  float: right;
 
  font-family: Roboto;
 
  font-size:.5em;
 
 
   color:#5b5b5b;
 
   color:#5b5b5b;
  margin-top:-.09em;
 
  margin-right:-2em;
 
  list-style:square;
 
}
 
 
.sun {
 
  width:4em;
 
  height:4em;
 
  border-radius: 2.5em;
 
  background: #FBD80A;
 
  margin-top: 1em;
 
 
}
 
}
  
 
.temp {
 
.temp {
  float:right;
 
 
   font-family:Roboto;
 
   font-family:Roboto;
 
   font-weight: 300;
 
   font-weight: 300;
   font-size: 6em;
+
   font-size: 1.2em;
  margin-top:-.75em;
 
 
   color:#5b5b5b;
 
   color:#5b5b5b;
 
}
 
}
  
.variations {
+
.skycon {
 
   font-family:Roboto;
 
   font-family:Roboto;
   font-wight:300;
+
   font-weight: 300;
   color:#8c8c8c;
+
   font-size: 1.2em;
  list-style:none;
+
   color:#5b5b5b;
   margin-left:-2em;
 
 
}
 
}
  
.mph {
+
.poetry {
  font-size:.8em;
+
   float: right;
}
 
 
 
.speed:before {
 
  content:url('https://i.imgur.com/luN0Jmq.png');
 
}
 
 
 
.forecast {
 
  width:100%;
 
  margin:0 auto;
 
}
 
 
 
.day {
 
  display:block;
 
  width: 21.5%;
 
  height:9em;
 
   float:left;
 
  margin: 0 .375em .5em;
 
  text-align:center;
 
 
   font-family:Roboto;
 
   font-family:Roboto;
   color: #5b5b5b;
+
   font-weight: 300;
   border-right:.1em solid #d9d9d9;
+
   font-size: 1.2em;
   line-height: 2;
+
   margin-top: 80px;
}
+
   width:20em;
 
+
   min-height:320px;
.fri {
+
   background: #fff;
   border-right:none;
+
  border-radius: .2em;
}
+
   padding-top:1em;
 
+
  padding-left: 1em;
.highTemp {
+
   padding-right:1em;
   font-weight:bold;
 
}
 
 
 
.lowTemp {
 
   color: #8c8c8c;
 
}
 
 
 
.cloudy {
 
   content: url('https://i.imgur.com/0PIYfV8.png');
 
}
 
 
 
.sunny {
 
   content: url('https://i.imgur.com/RdBr2SD.png');
 
 
}
 
}

Latest revision as of 17:21, 6 December 2018

.mw-wiki-logo {
    background-size: 135px 135px;
}

.externalimage-holder {
    position: relative;
}
.externalimage-holder img {
    max-width: 100%;
    height: auto;
}

.tianqi {
  float: left;
  background: #fff;
  border-radius: .2em;
  padding-top:1em;
  padding-bottom: 1em;
}

.city {
  font-family: Roboto;
  font-weight: 300;
  font-size: 1.2em;
  color:#5b5b5b;
}

.temp {
  font-family:Roboto;
  font-weight: 300;
  font-size: 1.2em;
  color:#5b5b5b;
}

.skycon {
  font-family:Roboto;
  font-weight: 300;
  font-size: 1.2em;
  color:#5b5b5b;
}

.poetry {
  float: right;
  font-family:Roboto;
  font-weight: 300;
  font-size: 1.2em;
  margin-top: 80px;
  width:20em;
  min-height:320px;
  background: #fff;
  border-radius: .2em;
  padding-top:1em;
  padding-left: 1em;
  padding-right:1em;
}