@shawnsandy/mix
Version:
AtomMix--A toolkit for generating utility classes, components and styles-sheets for your design system, style-guide or website from SASS MAPS
518 lines (481 loc) • 13.8 kB
CSS
@charset "UTF-8";
/*
Do not edit directly
Generated on Sat, 06 Jun 2020 20:11:06 GMT
*/
/** GENERAL PURPOSE SASS-MIXINS **/
/** generates a series of modifies based a list of attributes **/
/**
**/
code > textarea::-webkit-scrollbar {
width: 0.7rem;
border-radius: 4px; }
code > textarea::-webkit-scrollbar:hover {
cursor: pointer; }
code > textarea::-webkit-scrollbar-track {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 1rem; }
code > textarea::-webkit-scrollbar-thumb {
cursor: pointer;
background-color: gray;
border-radius: 1rem; }
[role*="button"][type="submit"], [role*="button"][aria-label],
button[type="submit"],
button[aria-label] {
font-size: 1.2rem; }
body p span:first-of-type {
font-family: "Roboto Slab", serif; }
/**
* navbar
*/
html {
font-family: “Segoe UI”, BlinkMacSystemFont, “Oxygen”, “Ubuntu”, “Cantarell”, “Fira Sans”, “Droid Sans”, “Helvetica Neue”, sans-serif;
-webkit-font-smoothing: antialiased ;
height: 100% ;
font-size: 85%;
scroll-behavior: smooth;
background-color: #fff;
min-width: 375px; }
html *,
html *::before,
html *::after {
box-sizing: border-box; }
@media all and (min-width: 580px) {
html {
font-size: 95%; } }
@media all and (min-width: 1380px) {
html {
font-size: 100%; } }
* {
box-sizing: border-box; }
body {
padding: 0 ;
background-color: #fff;
color: rgba(0, 0, 0, 0.8);
max-width: 1980px;
margin: 0 auto; }
@media print {
body > *:not(main) {
display: none; } }
body > nav {
padding: 0 0; }
body > header {
background-color: transparent;
background-image: none;
color: rgba(0, 0, 0, 0.8);
min-height: 55vh; }
body > footer {
min-height: 10vh;
display: flex;
align-items: center;
align-content: stretch;
margin: 2rem 0 0;
background-color: rgba(0, 0, 0, 0.8);
color: #fff; }
body > footer p {
text-align: center; }
body p span:first-of-type {
font-size: 1.3rem; }
body section aside {
padding: 1rem; }
body hr {
border-top: 1px solid snow;
margin: 3rem 0; }
[aria-hidden] {
display: none; }
body > * > section,
body > * > div,
body > * > article {
max-width: 90%;
margin: 0 auto; }
@media screen and (min-width: 1280px) {
body > * > section,
body > * > div,
body > * > article {
max-width: 1600px;
width: 80%; } }
@media screen and (min-width: 1980px) {
body > * > section,
body > * > div,
body > * > article {
max-width: 1920px; } }
h1,
h2,
h3,
h4,
h5 {
line-height: 1.5;
color: inherit;
margin: 0rem 0 1.05rem;
font-weight: 500; }
h1 {
font-size: 5rem;
word-break: break-all; }
h2 {
font-size: 3rem; }
h3 {
font-size: 2.5rem; }
h4 {
font-size: 1.777rem; }
h5 {
font-size: 1.4rem; }
small,
.text_small {
font-size: 0.75rem; }
p {
line-height: 1.7; }
nav[aria-label] {
background-color: transparent; }
nav[aria-label] > section,
nav[aria-label] > div,
nav[aria-label] > ul {
height: 100%; }
@media all and (min-width: 960px) {
nav[aria-label] > section,
nav[aria-label] > div,
nav[aria-label] > ul {
display: flex;
align-items: center;
justify-content: space-between; } }
@media all {
nav[aria-label] > section,
nav[aria-label] > div,
nav[aria-label] > ul {
width: 100% ;
max-width: 100% ; } }
nav[aria-label] > section h1,
nav[aria-label] > div h1,
nav[aria-label] > ul h1 {
margin: 0;
display: inline-flex;
height: inherit;
word-break: normal;
margin: 0 1rem 0 0;
padding: 0 1rem 0 0;
height: 5rem; }
nav[aria-label] > section h1 * + *,
nav[aria-label] > div h1 * + *,
nav[aria-label] > ul h1 * + * {
margin-left: 0.5rem; }
nav[aria-label] > section h1 img,
nav[aria-label] > div h1 img,
nav[aria-label] > ul h1 img {
max-height: 70%;
width: auto; }
nav[aria-label] > section h1 span,
nav[aria-label] > div h1 span,
nav[aria-label] > ul h1 span {
font-size: 1.5rem;
color: rgba(0, 0, 0, 0.8); }
nav[aria-label] > section [aria-hidden],
nav[aria-label] > div [aria-hidden],
nav[aria-label] > ul [aria-hidden] {
display: inline-flex; }
@media all and (min-width: 980px) {
nav[aria-label] > section [aria-hidden],
nav[aria-label] > div [aria-hidden],
nav[aria-label] > ul [aria-hidden] {
display: none; } }
nav[aria-label] ul {
padding: 0;
list-style: none; }
nav[aria-label] div {
height: 100%;
display: flex;
align-items: center;
justify-content: center; }
nav[aria-label] div a {
display: inline-flex; }
nav[aria-label] a,
nav[aria-label] li {
text-align: center;
display: flex;
align-items: center;
height: 100% ;
font-size: smaller;
padding: 0.5rem;
text-decoration: none; }
nav[aria-label] a[aria-label*="logo"], nav[aria-label] a[aria-label*="branding"],
nav[aria-label] li[aria-label*="logo"],
nav[aria-label] li[aria-label*="branding"] {
text-align: center;
height: 100% ; }
nav[aria-label] a[aria-label*="logo"]:hover, nav[aria-label] a[aria-label*="logo"]:focus, nav[aria-label] a[aria-label*="branding"]:hover, nav[aria-label] a[aria-label*="branding"]:focus,
nav[aria-label] li[aria-label*="logo"]:hover,
nav[aria-label] li[aria-label*="logo"]:focus,
nav[aria-label] li[aria-label*="branding"]:hover,
nav[aria-label] li[aria-label*="branding"]:focus {
background-color: transparent; }
nav[aria-label] a:hover, nav[aria-label] a:focus,
nav[aria-label] li:hover,
nav[aria-label] li:focus {
background-color: rgba(0, 0, 0, 0.1);
opacity: 0.95; }
@media all and (min-width: 980px) {
nav[aria-label] a,
nav[aria-label] li {
padding: 0 1.5rem; } }
nav[aria-label] li a {
padding: 0; }
@media all and (min-width: 980px) {
nav[aria-label]:first-of-type {
min-height: 10vh;
height: 5rem; } }
[role*="button"],
button {
border: none;
font-family: inherit;
cursor: pointer;
text-decoration: none;
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
transition: background-color 0.95s ease-out;
font-size: smaller;
padding: 0.8rem 1.6rem;
min-height: 44px;
text-align: center;
line-height: 1.1; }
@supports (align-items: center) {
[role*="button"],
button {
display: inline-flex;
align-items: center;
justify-content: center;
align-self: start; } }
[role*="button"]:hover, [role*="button"]:active,
button:hover,
button:active {
background-color: rgba(38, 38, 38, 0.8);
color: #e6e6e6; }
[role*="button"]:focus,
button:focus {
outline-style: solid;
outline-color: transparent;
box-shadow: 0 0 0 1px gray; }
[role*="button"][type="submit"], [role*="button"][aria-label],
button[type="submit"],
button[aria-label] {
border-color: transparent;
color: #fff; }
[role*="button"] span,
button span {
display: flex; }
main {
min-height: 40vh; }
main > section article {
padding: 1rem;
width: 100%;
font-size: 1rem; }
main > section article > * + * {
margin-top: 2rem; }
main > section article + aside,
main > section [role="complementary"] {
width: 100%;
padding: 1rem;
font-size: 0.95rem; }
@media all and (min-width: 1280px) {
main > section {
display: flex;
align-items: flex-start; }
main > section article + aside,
main > section [role="complementary"] {
min-width: 25%;
max-width: 25%; } }
header > section,
header > [role="banner"] {
min-height: inherit;
min-width: inherit;
font-size: larger;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
box-sizing: border-box;
padding: 1rem;
text-align: center;
padding: 3rem 0; }
header > section h1,
header > section h2,
header > section h3,
header > section h4,
header > section h5,
header > [role="banner"] h1,
header > [role="banner"] h2,
header > [role="banner"] h3,
header > [role="banner"] h4,
header > [role="banner"] h5 {
margin-top: 0; }
header > section p,
header > [role="banner"] p {
font-size: 1.4rem; }
header > section > div > * + *,
header > [role="banner"] > div > * + * {
margin-top: 1rem; }
section [role="list"] {
padding: 3rem 0;
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: flex-start; }
section [role="list"] [role="listitem"] {
flex: 1 1 100%;
padding: 1rem;
line-height: 1.6; }
@media all and (min-width: 780px) {
section [role="list"] [role="listitem"] {
flex: 1 1 50%; } }
@media all and (min-width: 992px) {
section [role="list"] [role="listitem"] {
flex: 1 1 33%; } }
code {
background-color: rgba(0, 0, 0, 0.8);
color: silver;
width: 99%;
border-radius: 2px;
display: flex;
min-height: 1.5rem;
overflow: hidden;
overflow-y: auto; }
code > span {
padding: 0 .5rem;
display: inline-flex;
width: auto;
font-size: 0.8rem ; }
code > textarea {
width: 99%;
height: 300px;
background-color: transparent;
color: silver;
margin: 1rem;
font-size: 1.2rem;
line-height: 1.5;
font-family: monospace;
border-color: transparent;
resize: none;
outline: none; }
label[for] {
font-size: 0.9rem;
display: block; }
label[for] em {
font-style: normal; }
label[for] em::after {
content: "\2217";
color: red; }
label[for] + input[id],
label[for] + textarea[id],
label[for] + select[id] {
background-color: snow;
display: flex;
margin: 0.1rem 0 1rem;
padding: 0.5rem;
font-size: 0.9rem;
width: 100%;
border: 1px solid gray;
border-radius: 2px; }
label[for] + input[id]:focus, label[for] + input[id]:focus-within,
label[for] + textarea[id]:focus,
label[for] + textarea[id]:focus-within,
label[for] + select[id]:focus,
label[for] + select[id]:focus-within {
border: 1px solid gray;
outline-color: gray; }
label[for] + input[id]::placeholder,
label[for] + textarea[id]::placeholder,
label[for] + select[id]::placeholder {
font-style: italic;
color: lightgrey; }
label[for] + select {
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background-color: #fff;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='512' viewBox='0 0 320 512'%3E%3Ctitle%3Esort%3C/title%3E%3Cg %3E%3Cdefs%3E%3C/defs%3E%3Cpath d='M279.05 288.05h-238c-21.4 0-32.07 25.95-17 41l119.1 119 .1.1a23.9 23.9 0 0 0 33.8-.1l119-119c15.1-15.05 4.4-41-17-41zm-238-64h238c21.4 0 32.1-25.9 17-41l-119-119a.94.94 0 0 0-.1-.1 23.9 23.9 0 0 0-33.8.1l-119.1 119c-15.05 15.1-4.4 41 17 41z' class='fa-secondary' opacity='.4'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat, repeat;
background-position: right 0.7em top 50%, 0 0;
background-size: 0.65em auto, 100%; }
label[for] + textarea {
min-height: 150px; }
span > * + * {
margin-left: 0.3rem; }
span > label[for] {
display: inline-flex;
align-items: center;
margin-left: 0.5rem;
cursor: pointer; }
span > label[for]::before {
content: "";
display: inline-flex;
width: 1rem;
height: 1rem;
background-color: transparent;
border: solid 2px lightgrey;
border-radius: 3px;
margin-right: 0.5rem; }
span > [type="checkbox"]:checked + label[for]::before,
span [type="radio"]:checked + label[for]::before {
background-color: gray; }
span > [type="checkbox"],
span > [type="radio"] {
width: 1px;
height: 1px;
opacity: 0;
display: inline-flex;
margin: 0;
padding: 0; }
span > [type="radio"] {
display: block; }
span > [type="radio"] + label::before {
border-radius: 50%; }
ol,
ul,
dl {
margin-left: 0rem;
padding-left: 1.5rem; }
ol > * + *,
ul > * + *,
dl > * + * {
margin-top: 0.5rem; }
ol > *,
ul > *,
dl > * {
line-height: 1.5;
font-size: smaller; }
span > ol,
span ul {
list-style: none;
margin-left: 0rem;
padding-left: 0rem; }
picture {
display: flex;
width: 100%;
height: auto;
align-items: center;
justify-content: center;
padding: 0;
text-align: center; }
picture > img[alt] {
width: 100%;
height: auto;
display: flex;
align-items: center;
position: relative; }
picture > img[alt]::after {
min-height: 48px;
height: 100%;
width: 100%;
content: "✖" " " attr(alt);
position: absolute;
top: 0;
left: 0;
display: inline-flex;
align-items: center;
justify-content: center;
background-color: lightgrey;
border-radius: 0.1rem;
color: darkgray;
background-repeat: no-repeat;
text-transform: uppercase;
border: 2px solid darkgray; }
/*# sourceMappingURL=/src.e31bb0bc.css.map */