aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-05-12 21:44:08 +0000
committerJoursoir <chat@joursoir.net>2021-05-12 21:44:08 +0000
commita6768b65511b28f2167828f0d53698e49520f766 (patch)
treeb14542fec696c9be8901668e370afbcb3b01bd47
parent86e10d50ea069694feb2a43fd2bf92aee564f4b1 (diff)
downloadctimeline-a6768b65511b28f2167828f0d53698e49520f766.tar.gz
ctimeline-a6768b65511b28f2167828f0d53698e49520f766.tar.bz2
ctimeline-a6768b65511b28f2167828f0d53698e49520f766.zip
css: add main ID, fix dependencies
-rw-r--r--static/ctimeline.css23
1 files changed, 13 insertions, 10 deletions
diff --git a/static/ctimeline.css b/static/ctimeline.css
index 0df312a..057efeb 100644
--- a/static/ctimeline.css
+++ b/static/ctimeline.css
@@ -20,19 +20,22 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
*/
+#ctimeline {
+ width: 660px;
+ margin-left: auto;
+ margin-right: auto;
+
+ font-family: monospace;
+ font-size: 10pt;
+}
+
/* ================ The Timeline ================ */
.timeline {
position: relative;
- width: 660px;
- margin: 0 auto;
- margin-top: 20px;
- padding: 1em 0;
- list-style-type: none;
-
- font-family: monospace;
- font-size: 112.5%;
+ padding: 1em;
line-height: 1.6em;
+ list-style-type: none;
}
.timeline:before {
@@ -112,7 +115,7 @@ OTHER DEALINGS IN THE SOFTWARE.
.direction-right .flag:before {
position: absolute;
top: 50%;
- right: -40px;
+ right: -26px;
content: ' ';
display: block;
width: 12px;
@@ -125,7 +128,7 @@ OTHER DEALINGS IN THE SOFTWARE.
}
.direction-right .flag:before {
- left: -40px;
+ left: -26px;
}
.direction-left .flag:after {