Updated colors with new var names, outsourced css
This commit is contained in:
35
colors/colors.css
Normal file
35
colors/colors.css
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user