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

From Hitchwiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
.roadnumber {
 
.roadnumber {
    padding: 2px 5px 1px 5px;
 
    font-size: 80%;
 
    font-weight: /*normal !important*/bold;
 
    margin: 0 2px;
 
 
     display: inline-block;
 
     display: inline-block;
     min-width: 1.5em;
+
     box-sizing: border-box;
 +
    padding: 0.3em 0.35em 0.2em 0.3em;
 +
    margin: 0 0.1em;
 
     line-height: 100%;
 
     line-height: 100%;
 +
    font-size: 80%;
 
     text-align: center;
 
     text-align: center;
 +
    color: white;
 
}
 
}
 
.roadnumber img {
 
.roadnumber img {
     height: 1.4em;
+
    box-sizing: border-box;
 +
     height: 1.63em;
 
     width: auto;
 
     width: auto;
    border:  1px solid grey;
 
 
     position: relative;
 
     position: relative;
 
     bottom: 0.1em;
 
     bottom: 0.1em;
Line 20: Line 20:
 
}
 
}
 
.round, .round img {
 
.round, .round img {
     border-radius: 0.25em;
+
     border-radius: 0.35em;
 
}
 
}
 
.dir {
 
.dir {
Line 27: Line 27:
 
}
 
}
 
.Dcz {
 
.Dcz {
     border: 2px solid white;
+
     border: 1px solid #E9132F;
 
     background: #E9132F;
 
     background: #E9132F;
     box-shadow: 0px 0px 0px 1px #E9132F;
+
     box-shadow: 0 0 0 0.2em white inset;
     color: white;
+
     min-width: 2.5em;
 
}
 
}
 
.E {
 
.E {
     border: 2px solid white;
+
     border: 1px solid #007f00;
     background: #479A38;
+
     background: #007f00;
     box-shadow: 0px 0px 0px 1px #479A38;
+
     box-shadow: 0 0 0 0.2em white inset;
    color: white;
+
     min-width: 2.5em;
}
 
.Mru {
 
    border: 2px solid white;
 
     background: blue;
 
    box-shadow: 0px 0px 0px 1px blue;
 
    color: white;
 
 
}
 
}
 
.Bde {
 
.Bde {
     border: 2px solid black;
+
     border: 1px solid black;
 +
    background: gold;
 +
    box-shadow: 0 0 0 0.2em gold inset;
 
     color: black;
 
     color: black;
     background: gold;
+
     min-width: 2.5em;
    box-shadow: 0px 0px 0px 1px gold;
 
 
}
 
}
  
.Ade {
+
.roadnumber_img {
 
     padding: 0;
 
     padding: 0;
 
}
 
}

Revision as of 17:37, 3 November 2014

.roadnumber {
    display: inline-block;
    box-sizing: border-box;
    padding: 0.3em 0.35em 0.2em 0.3em;
    margin: 0 0.1em;
    line-height: 100%;
    font-size: 80%;
    text-align: center;
    color: white;
}
.roadnumber img {
    box-sizing: border-box;
    height: 1.63em;
    width: auto;
    position: relative;
    bottom: 0.1em;
}
.roadnumber span {
    display: none;
}
.round, .round img {
    border-radius: 0.35em;
}
.dir {
    border-style: dashed !important;
    box-shadow: none !important;
}
.Dcz {
    border: 1px solid #E9132F;
    background: #E9132F;
    box-shadow: 0 0 0 0.2em white inset;
    min-width: 2.5em;
}
.E {
    border: 1px solid #007f00;
    background: #007f00;
    box-shadow: 0 0 0 0.2em white inset;
    min-width: 2.5em;
}
.Bde {
    border: 1px solid black;
    background: gold;
    box-shadow: 0 0 0 0.2em gold inset;
    color: black;
    min-width: 2.5em;
}

.roadnumber_img {
    padding: 0;
}