Difference between revisions of "User:Kundrt/common.css"

From Hitchwiki
Jump to navigation Jump to search
 
Line 2: Line 2:
 
     display: inline-block;
 
     display: inline-block;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
     padding: 0.3em 0.35em 0.2em 0.3em;
+
     height: 1.3em;
    margin: 0 0.1em;
+
  margin: 0 0.05em;
    line-height: 100%;
 
    font-size: 80%;
 
    text-align: center;
 
    vertical-align: text-bottom;
 
    color: white;
 
 
}
 
}
.roadnumber img {
+
 
 +
 
 +
.roadnumber img, .roadnumber span {
 +
    display: inline-block;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
     height: 1.63em;
+
    vertical-align: middle;
    width: auto;
+
     height: 100%;
 +
  width: auto;
 +
    /* Default  values: (for changing by MW templates) */
 +
    border: 1px solid silver;
 +
    border-radius: 0.3em;
 
}
 
}
 +
 
.roadnumber span {
 
.roadnumber span {
     display: none;
+
     padding: 0.21em;
}
+
     line-height: 100%;
.round, .round img {
+
     font-size: 90%;
    border-radius: 0.35em;
+
  font-weight: normal;
}
+
     text-align: center;
.dir {
 
     border-style: dashed !important;
 
     box-shadow: none !important;
 
}
 
.Dcz {
 
    border: 0.12em solid #E9132F;
 
    background: #E9132F;
 
    box-shadow: 0 0 0 0.2em white inset;
 
    min-width: 2.5em;
 
}
 
.E {
 
    border: 0.12em solid #007f00;
 
     background: #007f00;
 
    box-shadow: 0 0 0 0.2em white inset;
 
    min-width: 2.5em;
 
}
 
.Bde {
 
    border: 0.12em solid gold;
 
    background: gold;
 
    box-shadow: 0 0 0 0.2em black inset;
 
    color: black;
 
    min-width: 2.5em;
 
}
 
 
 
.roadnumber_img {
 
    padding: 0;
 
 
}
 
}

Latest revision as of 17:12, 5 November 2014

.roadnumber {
    display: inline-block;
    box-sizing: border-box;
    height: 1.3em;
  	margin: 0 0.05em;
}


.roadnumber img, .roadnumber span {
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
    height: 100%;
  	width: auto;
    /* Default  values: (for changing by MW templates) */
    border: 1px solid silver;
    border-radius: 0.3em;
}

.roadnumber span {
    padding: 0.21em;
    line-height: 100%;
    font-size: 90%;
  	font-weight: normal;
    text-align: center;
}