From ae0693d074a63412e7ab9587520096cb60a48e64 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 9 Dec 2018 12:10:16 +0100 Subject: media parser --- assets/css/edit.css | 33 +++++++++++++++++++++++++++++---- assets/css/home.css | 25 +++++++++++++++++++++---- 2 files changed, 50 insertions(+), 8 deletions(-) (limited to 'assets') diff --git a/assets/css/edit.css b/assets/css/edit.css index cb7b067..79b9dee 100644 --- a/assets/css/edit.css +++ b/assets/css/edit.css @@ -28,6 +28,8 @@ body { position: relative; height: 100%; background-color: lightgrey; + display: flex; + overflow: hidden; } @@ -98,10 +100,12 @@ body { position: relative; } +/* clip the tabs names */ .tabs .tab { - float: left; + min-width: 0; + overflow: hidden; } .tabs .tab .content @@ -121,8 +125,8 @@ body { .tab label { margin-right: 10px; - border: solid rgba(0, 0, 0, 0); - padding: 0px 2px; + border: solid rgba(0, 0, 0, 0); + padding: 0px 2px; } .tab label.edited { @@ -136,6 +140,7 @@ body { .checkboxtab:checked ~ label { border: solid 1px; + background: white; } .checkboxtab:checked ~ .content @@ -164,6 +169,7 @@ html { .editor .tabs label { line-height: 30px; + overflow: hidden; } .editor #topbar { @@ -227,7 +233,7 @@ form#update { height: 30px; } -#update span {margin-right: 1%;} +#update span {margin: 0 0.2%;} .editor .panel input[type="checkbox"] { width: auto; @@ -246,4 +252,23 @@ form#update { .panel summary { background-color: grey; color: lightgrey; +} + +.panel summary:hover { + cursor: pointer; +} + +@media (max-width: 600px) { + .bar { + display: none; + } + + span#fontsize { + display: none; + } + + #topbar .text { + display: none; + } + } \ No newline at end of file diff --git a/assets/css/home.css b/assets/css/home.css index 45afe58..c430b87 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -155,14 +155,17 @@ section.info article h2#manual { } section.info article h3 { - border-top: solid 1px grey; - margin-top: 60px; + border-bottom: solid 1px grey; + margin-top: 100px; padding-top: 15px; - font-size: xx-large; + font-size: 35px; } section.info article h4 { background-color: darkgrey; + padding: 10px; + font-size: x-large; + margin-top: 70px; } section.info article h5 { @@ -183,6 +186,20 @@ section.info blockquote { section.info nav { position: fixed; - right: 0; + right: 3%; top: 20%; +} + +section.info article code i { + font-style: normal; + color: #7b97b9; +} + + + +@media (max-width: 600px) { + section.home .summary, section.home .linkfrom, section.home .linkto, section.home .delete, section.home .datecreation, section.home .date, section.home .log, section.home .secure, section.home .tag { + display: none; + } + } \ No newline at end of file -- cgit v1.2.3