Module
TransportDiagram/styles.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
width: | width: 26.5em; | ||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
Line 29: | Line 29: | ||
flex-direction: row; | flex-direction: row; | ||
width: 64px; | width: 64px; | ||
margin-left: 5px; | |||
margin-right: 5px; | |||
} | } | ||
Line 45: | Line 47: | ||
.station { | .station { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
} | } | ||
.station-left { | .station-left { | ||
align | text-align: right; | ||
} | } | ||
.station-right { | .station-right { | ||
text-align: left; | |||
text-align: | |||
} | } |
Revision as of 01:09, 4 October 2022
/* Transport Diagram styles */
.transport-diagram {
display: flex;
flex-direction: column;
border: 1px solid #aaa;
border-radius: 10px;
background-color: #E9EDEF;
float: right;
clear: right;
width: 26.5em;
font-size: 88%;
line-height: 1.5em;
padding: 0.5em;
}
.transport-diagram-title {
font-size: 1.5em;
margin-bottom: 0.4em;
justify-content: center;
text-align: center;
font-weight: bold;
}
.track-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
width: 64px;
margin-left: 5px;
margin-right: 5px;
}
.track img {
margin: 0;
width: 30px;
height: 30px;
}
.diagram-row {
display: flex;
flex-direction: row;
justify-content: center;
}
.station {
display: flex;
align-items: center;
}
.station-left {
text-align: right;
}
.station-right {
text-align: left;
}
This page was last modified on 4 October 2022, at 01:09. (2 years ago)