From dc027951e433be3ce0a17da9d1eb2550d8dbd3ec Mon Sep 17 00:00:00 2001 From: kjwon15 Date: Sat, 5 Jan 2019 19:32:51 +0900 Subject: [PATCH] Fix template CSS --- templates/modern/css/pdf.css | 4 ---- templates/modern/css/resume.css | 4 +++- templates/modern/css/screen.css | 6 +----- templates/swissen/css/pdf.css | 4 ---- templates/swissen/css/resume.css | 4 +++- templates/swissen/css/screen.css | 5 ----- 6 files changed, 7 insertions(+), 20 deletions(-) diff --git a/templates/modern/css/pdf.css b/templates/modern/css/pdf.css index 66028d0..fd33064 100644 --- a/templates/modern/css/pdf.css +++ b/templates/modern/css/pdf.css @@ -53,10 +53,6 @@ body.pdf { position: absolute; } - ul li { - width: 33%; - float: left; - } ul dl { margin: 0; padding: 0.3em 0 0; diff --git a/templates/modern/css/resume.css b/templates/modern/css/resume.css index e8dad80..5bb2d56 100644 --- a/templates/modern/css/resume.css +++ b/templates/modern/css/resume.css @@ -102,11 +102,13 @@ ul { margin: 0; padding: 0; list-style: none; - display: table; + display: flex; + flex-wrap: wrap } ul li { margin: 0; padding: 0; + flex-basis: 33%; } ul dl { diff --git a/templates/modern/css/screen.css b/templates/modern/css/screen.css index 43feef8..e3371f3 100644 --- a/templates/modern/css/screen.css +++ b/templates/modern/css/screen.css @@ -94,10 +94,6 @@ width: 78%; } - ul li { - width: 33%; - float: left; - } ul dl { dt { font-size: 122%; @@ -156,4 +152,4 @@ @media screen and (min-width: 118em) { -} \ No newline at end of file +} diff --git a/templates/swissen/css/pdf.css b/templates/swissen/css/pdf.css index 841e01c..e9d3cb8 100644 --- a/templates/swissen/css/pdf.css +++ b/templates/swissen/css/pdf.css @@ -51,10 +51,6 @@ body.pdf { position: absolute; } - ul li { - width: 33.33%; - float: left; - } ul dl { margin: 0; padding: 0.3em 0 0; diff --git a/templates/swissen/css/resume.css b/templates/swissen/css/resume.css index b78bed7..6e0cb88 100644 --- a/templates/swissen/css/resume.css +++ b/templates/swissen/css/resume.css @@ -109,11 +109,13 @@ ul { margin: 0; padding: 0; list-style: none; - display: table; + display: flex; + flex-wrap: wrap; } ul li { margin: 0; padding: 0; + flex-basis: 33%; } ul dl { diff --git a/templates/swissen/css/screen.css b/templates/swissen/css/screen.css index 8bbc6c3..a8dd56c 100644 --- a/templates/swissen/css/screen.css +++ b/templates/swissen/css/screen.css @@ -89,11 +89,6 @@ float: left; width: 80%; } - - ul li { - width: 33.33%; - float: left; - } ul dl { dt { font-size: 122%;