From cae59f4f2528ce319c85271dcdd3b355e01373fa Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Thu, 4 Apr 2019 19:18:00 +0200 Subject: [PATCH] Proper css indent --- html/styles.css | 260 ++++++++++++++++++++++++------------------------ 1 file changed, 131 insertions(+), 129 deletions(-) diff --git a/html/styles.css b/html/styles.css index 4653f29a..ad39fba4 100644 --- a/html/styles.css +++ b/html/styles.css @@ -1,185 +1,187 @@ html { - overflow: hidden; - font-family: 'Open Sans', sans-serif; + overflow: hidden; + font-family: 'Open Sans', sans-serif; } .full-screen { - width: 100%; - height:100%; - display: flex; - align-items: center; + width: 100%; + height: 100%; + display: flex; + align-items: center; } .question-container { - width: 70%; - height: 700px; - background-color: #fff; - border: 1px solid #222; - border-radius: 1px; - margin-left: auto; - margin-right: auto; - overflow: hidden; - z-index: 9999999; - display: none; + width: 70%; + height: 700px; + background-color: #fff; + border: 1px solid #222; + border-radius: 1px; + margin-left: auto; + margin-right: auto; + overflow: hidden; + z-index: 9999999; + display: none; } .header { - width:100%; - height: 20%; - background-color: #eee; - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; + width: 100%; + height: 20%; + background-color: #eee; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; } .header .logo { - width: 80%; - max-height: 50%; - margin: auto; - margin-bottom: 0; + width: 80%; + max-height: 50%; + margin: auto; + margin-bottom: 0; } .header h1 { - font-size: 2em; - text-align: center; - margin:auto; + font-size: 2em; + text-align: center; + margin: auto; } .body { - width: 100%; - height: 80%; - display: flex; - flex-direction: row; - flex-wrap: wrap; - display: none; + width: 100%; + height: 80%; + display: flex; + flex-direction: row; + flex-wrap: wrap; + display: none; } .content { - display: flex; - flex-direction: column; - align-self: center; - width: 90%; - height: 70%; - margin: auto; - border:none; + display: flex; + flex-direction: column; + align-self: center; + width: 90%; + height: 70%; + margin: auto; + border: none; } .content .logo { - width: auto; - max-height: auto; - margin: auto; - margin-bottom: 0; + width: auto; + max-height: auto; + margin: auto; + margin-bottom: 0; } .content h2, p { - margin: 5px; + margin: 5px; } .buttonspot { - display: flex; - flex-direction: column; - align-self: center; - width: auto; - height: 15%; - margin: auto; - border:none; + display: flex; + flex-direction: column; + align-self: center; + width: auto; + height: 15%; + margin: auto; + border: none; } .buttonspot h2, p { - margin: 5px; + margin: 5px; } .button { - width: 30%; - height: 40px; - align-self: center; - text-align: center; - margin-left: 40px; - margin-right: 40px; - background: #6699ff; - background-image: linear-gradient(to bottom, #6699ff, #4d88ff); - border-radius: 4px; - color: #ffffff; - font-size: 1.5em; - text-decoration: none; + width: 30%; + height: 40px; + align-self: center; + text-align: center; + margin-left: 40px; + margin-right: 40px; + background: #6699ff; + background-image: linear-gradient(to bottom, #6699ff, #4d88ff); + border-radius: 4px; + color: #ffffff; + font-size: 1.5em; + text-decoration: none; } - .form { - display: flex; - flex-direction: row; - justify-content: center; - flex-wrap: wrap; - width: 100%; - margin-top:5px; + display: flex; + flex-direction: row; + justify-content: center; + flex-wrap: wrap; + width: 100%; + margin-top: 5px; } .form div { - margin :auto; - margin-top:5px; - margin-bottom: 5px; - width: 100%; + margin: auto; + margin-top: 5px; + margin-bottom: 5px; + width: 100%; } -.submit{ - align-items: center; - height: 30px; - text-align: center; - width: 30%; - background: #017ebc; - background-image: linear-gradient(to bottom, #6699ff, #4d88ff); - border-radius: 4px; - color: #fff; - font-size: 1.2em; - margin-top: 10px; +.submit { + align-items: center; + height: 30px; + text-align: center; + width: 30%; + background: #017ebc; + background-image: linear-gradient(to bottom, #6699ff, #4d88ff); + border-radius: 4px; + color: #fff; + font-size: 1.2em; + margin-top: 10px; } .barre-progression { - width: 50%; - align-self: center; - height: 10%; - margin: auto; - margin-top: 0; - display: flex; - flex-wrap: wrap; - justify-content: center; - padding: 0; + width: 50%; + align-self: center; + height: 10%; + margin: auto; + margin-top: 0; + display: flex; + flex-wrap: wrap; + justify-content: center; + padding: 0; } -.barre-progression h2{ - width: 100%; - height: 60%; - text-align: center; - display: flex; - justify-content: center; - align-items: center; - margin:0; - color: #6699ff; +.barre-progression h2 { + width: 100%; + height: 60%; + text-align: center; + display: flex; + justify-content: center; + align-items: center; + margin: 0; + color: #6699ff; } .progression { - width: 80%; - border: 0 none; - background: #ddd; - border-radius: 14px; - box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2); + width: 80%; + border: 0 none; + background: #ddd; + border-radius: 14px; + box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2); } -.progression::-moz-progress-bar { - background: #FFF; - border-radius: 14px; - box-shadow: inset 0 -2px 4px rgba(0,0,0,0.4), 0 2px 5px 0px rgba(0,0,0,0.3); -} -.progression::-webkit-progress-bar { - background: transparent; -} -.progression::-webkit-progress-value { - background-image: linear-gradient(to bottom, #6699ff, #4d88ff); - border-radius: 14px; - box-shadow: inset 0 -2px 4px rgba(0,0,0,0.4), 0 2px 5px 0px rgba(0,0,0,0.3); -} -.bold-text{ - font-weight: bold; - font-size: 1.3em; +.progression::-moz-progress-bar { + background: #FFF; + border-radius: 14px; + box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.4), 0 2px 5px 0px rgba(0, 0, 0, 0.3); +} + +.progression::-webkit-progress-bar { + background: transparent; +} + +.progression::-webkit-progress-value { + background-image: linear-gradient(to bottom, #6699ff, #4d88ff); + border-radius: 14px; + box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.4), 0 2px 5px 0px rgba(0, 0, 0, 0.3); +} + +.bold-text { + font-weight: bold; + font-size: 1.3em; } \ No newline at end of file