X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=blobdiff_plain;f=style%2Flantea.css;h=36aef545d4d4539e1e58d1db969d86e814ec7ca8;hp=fd7ff623f5e0e04ccd87fa7e2917bf3a2229c03d;hb=4a6b02328135061c46b1fe6f9c35bee7bf66e25e;hpb=db2008ca0d531e0f08b936e311d649a8504b695d diff --git a/style/lantea.css b/style/lantea.css index fd7ff62..36aef54 100644 --- a/style/lantea.css +++ b/style/lantea.css @@ -114,6 +114,7 @@ h1 { bottom: 0; left: calc(-40ch - 1ch); /* account for padding */ width: 40ch; + max-width: 95%; /* make sure we don't overflow the screen */ background-color: rgba(15, 15, 15, .9); color: #CCCCCC; border: 0; @@ -156,6 +157,17 @@ h1 { height: 1.2em; } +/* For optical conveniece, display an "x" for closing. */ +.menuDrawer > h2:after { + content: '\00D7'; /* multiplication sign */ + display: inline-block; + vertical-align: text-top; + float: right; + margin-top: 0; + margin-right: .2em; + font-size: .75em; +} + /* Custom checkbox design */ .menuDrawer input[type="checkbox"] { display: none;