From 9537122010f0f0f9f933e551becdbc7fbb63845a Mon Sep 17 00:00:00 2001 From: nphillips-dev Date: Mon, 26 Oct 2020 17:53:45 +0000 Subject: [PATCH 1/2] small card columns now wrap correctly and minimised some whitespace in core --- unholy-core.css | 51 ++++++++++++++++--------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) diff --git a/unholy-core.css b/unholy-core.css index 47bd577..7fd38a0 100644 --- a/unholy-core.css +++ b/unholy-core.css @@ -1,11 +1,7 @@ @import url('https://rsms.me/inter/inter.css'); - html { - font-family: 'Inter', sans-serif; -} + html {font-family: 'Inter', sans-serif;} @supports (font-variation-settings: normal) { - html { - font-family: 'Inter var', sans-serif; - } + html {font-family: 'Inter var', sans-serif;} } @import "core/unholy-variables.css"; @@ -35,6 +31,9 @@ margin: 5px; flex: auto; } +@media screen and (min-width : 320px) and (max-width : 670px) { + .row > div.box-small{width: 100%;} +} .row > div.box-medium{ width: 48%; @@ -66,22 +65,12 @@ margin-left: 8%; } } -/* unvisited link */ - a:link { - color: var(--unholy-main); -} -/* visited link */ - a:visited { - color: var(--unholy-font); -} -/* mouse over link */ - a:hover { - color: var(--unholy-secondary); -} -/* selected link */ - a:active { - color: var(--unholy-secondary); -} + + a:link {color: var(--unholy-main);} + a:visited {color: var(--unholy-font);} + a:hover { color: var(--unholy-secondary)} + a:active {color: var(--unholy-secondary);} + a.button{ display:inline-block; padding:0.3em 1.2em; @@ -96,8 +85,7 @@ text-align:center; transition: all 0.2s; } - a.button:hover{ - background-color: var(--unholy-secondary); + a.button:hover{background-color: var(--unholy-secondary); } @media all and (max-width:30em) { a.button { @@ -115,8 +103,7 @@ box-sizing: border-box; resize: vertical; } - option:checked { - box-shadow: 0 0 10px 100px var(--unholy-main) inset; + option:checked {box-shadow: 0 0 10px 100px var(--unholy-main) inset; } /* Style the label to display next to the inputs */ label { @@ -173,14 +160,10 @@ text-align: inherit; } @media screen and (min-width : 320px) { - .list-item { - margin-right: 10%; - } + .list-item {margin-right: 10%;} } @media screen and (min-width: 680px) { - .container { - margin-right: 5%; - } + .container {margin-right: 5%;} } .list--item-action:hover, .list-group-item-action:focus { z-index: 1; @@ -238,9 +221,7 @@ background-color: var(--unholy-background); color:var(--unholy-font); } - .card-action { - text-transform: uppercase; -} + .card-action {text-transform: uppercase;} /*table*/ .table-container {overflow-x:auto;} From 8edb71df79287f74441d1b735d890209c4b67649 Mon Sep 17 00:00:00 2001 From: nphillips-dev Date: Tue, 27 Oct 2020 08:15:36 +0000 Subject: [PATCH 2/2] altered image css as the initial wrapper method was not working --- README.md | 13 ++++++++----- unholy-core.css | 18 ++++++------------ 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 8793824..9daedc4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The idea here is you can build a quick and dirty site. It works on the concept t Active nav item and a submit button - both need seperate CSS written but in Unholy both use the same colour variable, change that variable and both elements restyle. See section on variables. -I appriciate this might be restrictive to some really flashy front end humans, I've tried to make this easy to overrude (no !important) but for those with the style sense of a fish i.e. me, this is a nice quick way to style a site. +I appriciate this might be restrictive to some really flashy front end humans, I've tried to make this easy to override (no !important) but for those with the style sense of a fish i.e. me, this is a nice quick way to style a site. ## Version 2 and Rules @@ -61,12 +61,14 @@ Inside a row there are 3 types of basic boxes: * .box-medium (50%) * .box-large (100%) -Images would be structured as follows: +Images do not require special structure: -
- -
+ + +Combine with utility for effects e.g. + + Lists are straight forward: