diff --git a/css/index.css b/css/index.css new file mode 100644 index 0000000..62765cf --- /dev/null +++ b/css/index.css @@ -0,0 +1,242 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} +body { + line-height: 1; +} +ol, +ul { + list-style: none; +} +blockquote, +q { + quotes: none; +} +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ""; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} + +/* Code Starts here */ +* { + margin: 30px 0; + box-sizing: border-box; +} + +body { + background-color: lightsteelblue; +} + +header nav { + display: flex; + justify-content: space-around; + margin: 30px 0; +} + +header nav a { + color: linen; + text-decoration: none; +} + +section.inline-block { + text-align: center; + padding: 30px; +} + +section.inline-block .block { + padding: 30px; + width: 30%; + margin: 10px; + border: 2px solid #ddd; + display: inline-block; +} + +section.inline-block .ibox1 { + background-color: maroon; +} + +section.inline-block .ibox2 { + background-color: mediumpurple; +} + +section.inline-block .ibox3 { + background-color: mediumseagreen; +} + +section.flex-box { + text-align: center; + padding: 30px; +} + +section.flex-box .flex-child { + display: flex; + flex-wrap: wrap; + width: 700px; + margin: auto; +} + +section.flex-box .block { + margin: 30px; + width: 100px; + height: 100px; + border: 2px solid #ddd; +} + +section.flex-box .one { + background-color: teal; +} + +section.flex-box .two { + background-color: aquamarine; +} + +section.flex-box .three { + background-color: bisque; +} + +section.flex-box .four { + background-color: burlywood; +} + +section.flex-box .five { + background-color: cornflowerblue; +} + +section.flex-box .six { + background-color: darkkhaki; +} + +section.flex-box .seven { + background-color: pink; +} + +section.flex-box .eight { + background-color: firebrick; +} + +section.flex-box .nine { + background-color: darkorchid; +} + +section.flex-box .ten { + background-color: gainsboro; +} + +section.flex-box .eleven { + background-color: lavenderblush; +} + +section.flex-box .twelve { + background-color: lightsalmon; +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..ca461e6 --- /dev/null +++ b/index.html @@ -0,0 +1,41 @@ + + + Romans Overview + + + + +
+ +
+ +
+

Inline Block

+
Block 1
+
block 2
+
block 3
+
+ +
+

Flex-box

+
+
Block 1
+
block 2
+
block 3
+
Block 1
+
block 2
+
block 3
+
Block 1
+
block 2
+
block 3
+
Block 1
+
block 2
+
block 3
+
+
+ + diff --git a/readme.md b/readme.md index 8b13789..8f1fad8 100644 --- a/readme.md +++ b/readme.md @@ -1 +1,6 @@ +## To Do +*[] add color to all boxes +*[] Add a Margin to the header of 30 px 0 + +*[] Change the background of the body