MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 97: | Line 97: | ||
.featurebox-shiftimageX img { | .featurebox-shiftimageX img { | ||
transform: translateX(-25%); | transform: translateX(-25%); | ||
} | |||
/* Template:Highway */ | |||
.highway-box { | |||
background: #000; | |||
color: #fff; | |||
border-radius: 10px; | |||
width: 350px; | |||
padding: 8px 8px 20px; | |||
float: right; | |||
} | |||
.highway-title { | |||
font-family: 'Inconsolata', monospace; | |||
text-align: center; | |||
text-transform: uppercase; | |||
font-size: 24pt; | |||
position: relative; | |||
z-index: 1; | |||
} | |||
.highway-image { | |||
text-align: center; | |||
margin-top: -30px; | |||
} | |||
.highway-line1 { | |||
border: none; | |||
border-bottom: 1px solid #fff; | |||
color: transparent; | |||
background-color: transparent; | |||
margin: 17px auto 12px; | |||
width: 75%; | |||
} | |||
.highway-line2 { | |||
border: none; | |||
border-bottom: 1px dashed #fff; | |||
color: transparent; | |||
background-color: transparent; | |||
margin: 16px auto 12px; | |||
width: 75%; | |||
} | |||
.highway-routeno { | |||
text-align: center; | |||
font-size: 14pt; | |||
text-transform: uppercase; | |||
margin-bottom: 8px; | |||
} | |||
.highway-routebox { | |||
text-align: center; | |||
font-size: 12pt; | |||
width: 100%; | |||
white-space: nowrap; | |||
} | |||
.highway-neighbors { | |||
display: inline-block; | |||
vertical-align: middle; | |||
text-transform: uppercase; | |||
width: 75px; | |||
white-space: pre-line; | |||
line-height: 1.1em; | |||
} | |||
.highway-arrow { | |||
display: inline-block; | |||
vertical-align: middle; | |||
margin: 0 20px; | |||
} | |||
.highway-truck { | |||
display: inline-block; | |||
vertical-align: middle; | |||
} | } | ||