From 97a842e0b62c5e5e4b8b8ca485c8ee943c2a89c8 Mon Sep 17 00:00:00 2001 From: c Date: Thu, 24 Jun 2021 12:09:55 +0200 Subject: [PATCH] add colum and row to stlyes for imagepresentation --- styles.css | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/styles.css b/styles.css index ed9c168..daf2065 100644 --- a/styles.css +++ b/styles.css @@ -1,3 +1,7 @@ +* { + box-sizing: border-box; +} + body { background-color: #151515; color: #fc9032; @@ -37,7 +41,7 @@ h1, h2, h3, h4 { margin-bottom: 0px; margin-right: 15px; margin-left: 15px; -} +} ol { @@ -62,6 +66,30 @@ th, td { margin-right: 20px; } +/* Create two equal columns that floats next to each other */ +.column { + float: left; + width: 50%; + padding: 10px; + border-style: none; +} + +.column img { + margin-top: 12px; +} + +.row { + border-style: none; +} + +/* Clear floats after the columns */ +.row:after { + content: ""; + display: table; + clear: both; + border-style: none; +} + .topnav { overflow: hidden; } @@ -69,4 +97,3 @@ th, td { margin-right: 15px; margin-left: 15px; } -