Tightening up the grid, its closer
This commit is contained in:
parent
a7c60901af
commit
71ab2169f4
1 changed files with 75 additions and 50 deletions
|
@ -3,6 +3,31 @@
|
|||
@import url(pygment.css);
|
||||
@import url(pelican.css);
|
||||
|
||||
/* setting up colours */
|
||||
|
||||
/* Colors */
|
||||
:root {
|
||||
--body-colour: #000000;
|
||||
--body-background: #fff;
|
||||
--style-colour: #f56a6a;
|
||||
--header-colour: #3d4449;
|
||||
--placeholder-colour: #9fa3a6;
|
||||
--input-colour: #7f888f;
|
||||
|
||||
--white: #fff;
|
||||
--light-blue: #cee4ff;
|
||||
--light-pink: #ef9eff;
|
||||
--base-pink: #e45dff;
|
||||
--base-green: #93e836;
|
||||
--base-yellow: #fffc7a;
|
||||
--midlight-blue: #93d9eb;
|
||||
--base-blue: #33c6ee;
|
||||
--base-dark: #041417;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
Editorial by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
|
@ -82,7 +107,7 @@ html {
|
|||
box-sizing: inherit; }
|
||||
|
||||
body {
|
||||
background: #ffffff; }
|
||||
background: var(--body-background); }
|
||||
body.is-preload *, body.is-preload *:before, body.is-preload *:after, body.is-resizing *, body.is-resizing *:before, body.is-resizing *:after {
|
||||
-moz-animation: none !important;
|
||||
-webkit-animation: none !important;
|
||||
|
@ -95,7 +120,7 @@ body {
|
|||
|
||||
/* Type */
|
||||
body, input, select, textarea {
|
||||
color: #000000;
|
||||
color: var(--body-colour);
|
||||
font-family: Georgia, 'Times New Roman', Times, sans-serif;
|
||||
font-size: 13pt;
|
||||
font-weight: 500;
|
||||
|
@ -116,16 +141,16 @@ a {
|
|||
-ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
|
||||
transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
|
||||
border-bottom: dotted 1px;
|
||||
color: #f56a6a;
|
||||
color: var(--style-colour);
|
||||
text-decoration: none; }
|
||||
a:hover {
|
||||
border-bottom-color: #f56a6a;
|
||||
color: #f56a6a !important; }
|
||||
border-bottom-color: var(--style-colour);
|
||||
color: var(--style-colour) !important; }
|
||||
a:hover strong {
|
||||
color: inherit; }
|
||||
|
||||
strong, b {
|
||||
color: #3d4449;
|
||||
color: var(--header-colour);
|
||||
font-weight: 600; }
|
||||
|
||||
em, i {
|
||||
|
@ -135,7 +160,7 @@ p {
|
|||
margin: 1em 0 1em 0; }
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: #3d4449;
|
||||
color: var(--header-colour);
|
||||
font-family: "Roboto Slab", serif;
|
||||
font-weight: 700;
|
||||
line-height: 1.5;
|
||||
|
@ -1002,7 +1027,7 @@ header p {
|
|||
text-transform: uppercase; }
|
||||
|
||||
header.major > :last-child {
|
||||
border-bottom: solid 3px #f56a6a;
|
||||
border-bottom: solid 3px var(--style-colour);
|
||||
display: inline-block;
|
||||
margin: 0 0 2em 0;
|
||||
padding: 0 0.75em 0.5em 0; }
|
||||
|
@ -1015,7 +1040,7 @@ form {
|
|||
margin: 0 0 2em 0; }
|
||||
|
||||
label {
|
||||
color: #3d4449;
|
||||
color: var(--header-colour);
|
||||
display: block;
|
||||
font-size: 0.9em;
|
||||
font-weight: 600;
|
||||
|
@ -1033,7 +1058,7 @@ textarea {
|
|||
-webkit-appearance: none;
|
||||
-ms-appearance: none;
|
||||
appearance: none;
|
||||
background: #ffffff;
|
||||
background: var(--white);
|
||||
border-radius: 0.375em;
|
||||
border: none;
|
||||
border: solid 1px rgba(210, 215, 217, 0.75);
|
||||
|
@ -1060,8 +1085,8 @@ textarea {
|
|||
input[type="url"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #f56a6a;
|
||||
box-shadow: 0 0 0 1px #f56a6a; }
|
||||
border-color: var(--style-colour);
|
||||
box-shadow: 0 0 0 1px var(--style-colour); }
|
||||
|
||||
select {
|
||||
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='rgba(210, 215, 217, 0.75)' /%3E%3C/svg%3E");
|
||||
|
@ -1072,8 +1097,8 @@ select {
|
|||
padding-right: 2.75em;
|
||||
text-overflow: ellipsis; }
|
||||
select option {
|
||||
color: #3d4449;
|
||||
background: #ffffff; }
|
||||
color: var(--header-colour);
|
||||
background: var(--white); }
|
||||
select:focus::-ms-value {
|
||||
background-color: transparent; }
|
||||
select::-ms-expand {
|
||||
|
@ -1106,7 +1131,7 @@ input[type="radio"] {
|
|||
input[type="checkbox"] + label,
|
||||
input[type="radio"] + label {
|
||||
text-decoration: none;
|
||||
color: #7f888f;
|
||||
color: var(--input-colour);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 1em;
|
||||
|
@ -1128,7 +1153,7 @@ input[type="radio"] {
|
|||
font-weight: 900; }
|
||||
input[type="checkbox"] + label:before,
|
||||
input[type="radio"] + label:before {
|
||||
background: #ffffff;
|
||||
background: var(--white);
|
||||
border-radius: 0.375em;
|
||||
border: solid 1px rgba(210, 215, 217, 0.75);
|
||||
content: '';
|
||||
|
@ -1143,14 +1168,14 @@ input[type="radio"] {
|
|||
width: 2.0625em; }
|
||||
input[type="checkbox"]:checked + label:before,
|
||||
input[type="radio"]:checked + label:before {
|
||||
background: #3d4449;
|
||||
border-color: #3d4449;
|
||||
color: #ffffff;
|
||||
background: var(--header-colour);
|
||||
border-color: var(--header-colour);
|
||||
color: var(--white);
|
||||
content: '\f00c'; }
|
||||
input[type="checkbox"]:focus + label:before,
|
||||
input[type="radio"]:focus + label:before {
|
||||
border-color: #f56a6a;
|
||||
box-shadow: 0 0 0 1px #f56a6a; }
|
||||
border-color: var(--style-colour);
|
||||
box-shadow: 0 0 0 1px var(--style-colour); }
|
||||
|
||||
input[type="checkbox"] + label:before {
|
||||
border-radius: 0.375em; }
|
||||
|
@ -1159,19 +1184,19 @@ input[type="radio"] + label:before {
|
|||
border-radius: 100%; }
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: #9fa3a6 !important;
|
||||
color: var(--placeholder-colour) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
:-moz-placeholder {
|
||||
color: #9fa3a6 !important;
|
||||
color: var(--placeholder-colour) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
::-moz-placeholder {
|
||||
color: #9fa3a6 !important;
|
||||
color: var(--placeholder-colour) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: #9fa3a6 !important;
|
||||
color: var(--placeholder-colour) !important;
|
||||
opacity: 1.0; }
|
||||
|
||||
/* Box */
|
||||
|
@ -1382,7 +1407,7 @@ ul.contact {
|
|||
font-family: 'Font Awesome 5 Free';
|
||||
font-weight: 400; }
|
||||
ul.contact li:before {
|
||||
color: #f56a6a;
|
||||
color: var(--style-colour);
|
||||
display: inline-block;
|
||||
font-size: 1.5em;
|
||||
height: 1.125em;
|
||||
|
@ -1427,8 +1452,8 @@ ul.pagination {
|
|||
padding: 0 0.5em;
|
||||
text-align: center; }
|
||||
ul.pagination li > .page.active {
|
||||
background-color: #f56a6a;
|
||||
color: #ffffff !important; }
|
||||
background-color: var(--style-colour);
|
||||
color: var(--white) !important; }
|
||||
ul.pagination li > .page.active:hover {
|
||||
background-color: #f67878; }
|
||||
ul.pagination li > .page.active:active {
|
||||
|
@ -1460,7 +1485,7 @@ table {
|
|||
table td {
|
||||
padding: 0.75em 0.75em; }
|
||||
table th {
|
||||
color: #3d4449;
|
||||
color: var(--header-colour);
|
||||
font-size: 0.9em;
|
||||
font-weight: 600;
|
||||
padding: 0 0.75em 0.75em 0.75em;
|
||||
|
@ -1501,8 +1526,8 @@ button,
|
|||
background-color: transparent;
|
||||
border-radius: 0.375em;
|
||||
border: 0;
|
||||
box-shadow: inset 0 0 0 2px #f56a6a;
|
||||
color: #f56a6a !important;
|
||||
box-shadow: inset 0 0 0 2px var(--style-colour);
|
||||
color: var(--style-colour) !important;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-family: "Roboto Slab", serif;
|
||||
|
@ -1559,9 +1584,9 @@ button,
|
|||
input[type="button"].primary,
|
||||
button.primary,
|
||||
.button.primary {
|
||||
background-color: #f56a6a;
|
||||
background-color: var(--style-colour);
|
||||
box-shadow: none;
|
||||
color: #ffffff !important; }
|
||||
color: var(--white) !important; }
|
||||
input[type="submit"].primary:hover,
|
||||
input[type="reset"].primary:hover,
|
||||
input[type="button"].primary:hover,
|
||||
|
@ -1648,7 +1673,7 @@ button,
|
|||
text-align: center;
|
||||
width: 10em; }
|
||||
.features article .icon:before {
|
||||
color: #f56a6a;
|
||||
color: var(--style-colour);
|
||||
font-size: 2.75rem;
|
||||
position: relative;
|
||||
top: 0.05em; }
|
||||
|
@ -1739,8 +1764,8 @@ button,
|
|||
-webkit-flex-wrap: wrap;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
margin: 0 0 2em -6em;
|
||||
width: calc(100% + 6em); }
|
||||
margin: 0 0 0em -1em;
|
||||
width: calc(100% + 4em); }
|
||||
.posts article {
|
||||
-moz-flex-grow: 0;
|
||||
-webkit-flex-grow: 0;
|
||||
|
@ -1750,21 +1775,21 @@ button,
|
|||
-webkit-flex-shrink: 1;
|
||||
-ms-flex-shrink: 1;
|
||||
flex-shrink: 1;
|
||||
margin: 0 0 6em 6em;
|
||||
margin: 0 2em 2em 2em;
|
||||
position: relative;
|
||||
width: calc(33.33333% - 6em); }
|
||||
width: calc(33.33333% - 4em); }
|
||||
.posts article:before {
|
||||
background: rgba(210, 215, 217, 0.75);
|
||||
content: '';
|
||||
display: block;
|
||||
height: calc(100% + 6em);
|
||||
left: -3em;
|
||||
height: calc(100% + 2em);
|
||||
left: -2em;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 1px; }
|
||||
.posts article:after {
|
||||
background: rgba(210, 215, 217, 0.75);
|
||||
bottom: -3em;
|
||||
bottom: 0em;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 1px;
|
||||
|
@ -1906,7 +1931,7 @@ button,
|
|||
-webkit-transform: scaleX(-1);
|
||||
-ms-transform: scaleX(-1);
|
||||
transform: scaleX(-1);
|
||||
color: #7f888f;
|
||||
color: var(--input-colour);
|
||||
content: '\f002';
|
||||
cursor: default;
|
||||
display: block;
|
||||
|
@ -2061,7 +2086,7 @@ button,
|
|||
text-indent: 7.25em;
|
||||
width: 7.25em; }
|
||||
#sidebar .toggle:before {
|
||||
color: #7f888f;
|
||||
color: var(--input-colour);
|
||||
margin-left: -0.0625em;
|
||||
margin-top: -0.25em;
|
||||
font-size: 1.1rem;
|
||||
|
@ -2082,7 +2107,7 @@ button,
|
|||
display: -webkit-flex;
|
||||
display: -ms-flex;
|
||||
display: flex;
|
||||
border-bottom: solid 5px #f56a6a;
|
||||
border-bottom: solid 5px var(--style-colour);
|
||||
padding: 6em 0 1em 0;
|
||||
position: relative; }
|
||||
#header > * {
|
||||
|
@ -2194,7 +2219,7 @@ button,
|
|||
|
||||
/* Footer */
|
||||
#footer .copyright {
|
||||
color: #9fa3a6;
|
||||
color: var(--placeholder-colour);
|
||||
font-size: 0.9em; }
|
||||
#footer .copyright a {
|
||||
color: inherit; }
|
||||
|
@ -2205,7 +2230,7 @@ button,
|
|||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
color: #3d4449;
|
||||
color: var(--header-colour);
|
||||
font-family: "Roboto Slab", serif;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.075em;
|
||||
|
@ -2221,7 +2246,7 @@ button,
|
|||
font-size: 0.9em;
|
||||
padding: 0.625em 0; }
|
||||
#menu ul a:hover, #menu ul span:hover {
|
||||
color: #f56a6a; }
|
||||
color: var(--style-colour); }
|
||||
#menu ul a.opener, #menu ul span.opener {
|
||||
-moz-transition: color 0.2s ease-in-out;
|
||||
-webkit-transition: color 0.2s ease-in-out;
|
||||
|
@ -2246,12 +2271,12 @@ button,
|
|||
-webkit-transition: color 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
|
||||
-ms-transition: color 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
|
||||
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
|
||||
color: #9fa3a6;
|
||||
color: var(--placeholder-colour);
|
||||
content: '\f078';
|
||||
position: absolute;
|
||||
right: 0; }
|
||||
#menu ul a.opener:hover:before, #menu ul span.opener:hover:before {
|
||||
color: #f56a6a; }
|
||||
color: var(--style-colour); }
|
||||
#menu ul a.opener.active + ul, #menu ul span.opener.active + ul {
|
||||
display: block; }
|
||||
#menu ul a.opener.active:before, #menu ul span.opener.active:before {
|
||||
|
@ -2265,7 +2290,7 @@ button,
|
|||
margin: 0.5em 0 0 0;
|
||||
padding: 0.5em 0 0 0; }
|
||||
#menu > ul > li > ul {
|
||||
color: #9fa3a6;
|
||||
color: var(--placeholder-colour);
|
||||
display: none;
|
||||
margin: 0.5em 0 1.5em 0;
|
||||
padding-left: 1em; }
|
||||
|
|
Loading…
Reference in a new issue