diff --git a/colors/colors.css b/colors/colors.css new file mode 100644 index 0000000..3986abd --- /dev/null +++ b/colors/colors.css @@ -0,0 +1,35 @@ +* { + margin: 0; + padding: 0; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; +} + +#content { + top: 50%; + left: 50%; + width: 100%; + max-width: 500px; + position: absolute; + transform: translate(-50%, -50%); +} + +.color-palette { + width: 100%; + max-width: 500px; +} + +.single-color { + width: 20%; + float: left; + text-align: center; + display: inline-block; +} + +.single-color div { + padding-top: 50%; + margin-top: 50px; + margin-bottom: 2px; +} \ No newline at end of file diff --git a/colors/index.php b/colors/index.php index 7d3212f..415bad5 100644 --- a/colors/index.php +++ b/colors/index.php @@ -2,49 +2,9 @@ - - -