mnml/studios/assets/styles/styles.less
2020-01-04 17:29:07 +10:00

229 lines
3.5 KiB
Plaintext

@import 'colours.less';
html {
box-sizing: border-box;
font-size: 62.5%;
}
body {
font-size: 1.8em;
line-height: 1.6;
font-weight: 400;
margin: 0;
padding: 0;
background-color: black;
font-family: 'Jura';
color: whitesmoke;
}
*, *:before, *:after {
box-sizing: inherit;
}
hr {
color: #222;
margin: 1.5em 0;
width: 100%;
border-top: 1px solid #222;
}
figure {
margin: 0;
text-align: center;
}
p {
margin-bottom: 1em;
}
dl {
margin: 1em 0;
}
button, input, a {
font-family: 'Jura';
color: whitesmoke;
height: auto;
border-width: 0.1em;
border-style: solid;
border-color: @gray-exists;
letter-spacing: 0.25em;
box-sizing: border-box;
font-size: 1em;
flex: 1;
border-radius: 0;
line-height: 2em;
padding-right: 0.1em;
padding-left: 0.1em;
padding-bottom: 0.1em;
padding-top: 0.1em;
/*the transitions */
transition-property: border-color, color, background;
transition-duration: 0.25s;
transition-delay: 0;
transition-timing-function: ease;
&:hover {
color: whitesmoke;
border-color: @gray-hover;
}
&:focus {
outline: 0;
}
// &:active {
// filter: url("#noiseFilter");
// }
}
a {
font-weight: 600;
color: whitesmoke;
text-decoration: none;
&:hover {
color: whitesmoke;
border-color: @gray-hover;
}
&:focus {
/*colour necesary to bash skellington*/
color: @gray-focus;
border-color: @gray-focus;
}
}
svg {
fill: none;
stroke: whitesmoke;
stroke-width: 0.5em;
height: 1.5em;
}
button[disabled] {
color: #222;
border-color: #222;
animation: 0;
}
ul {
margin-bottom: 1em;
list-style: inside;
}
li {
margin-bottom: 0;
}
.logo {
height: 4em;
filter: url("#noiseFilter");
background-image: url("../../assets/mnml.studios.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.awards {
height: 100%;
background-image: url("../../assets/mnml.awards.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
#clipboard {
width: 1px;
height: 1px;
padding: 0px;
}
#noise {
height: 0;
}
main {
padding: 0 20% 2em 20%;
.logo {
margin: 2em 0;
}
.list {
align-items: flex-start;
margin-bottom: 0;
a {
text-decoration: none;
}
}
}
@media (max-width: 1000px) {
body {
font-size: 1em;
padding: 0 0 2em 0;
main {
padding: 0 0.5em;
}
}
}
@media (max-width: 1500px) {
body {
font-size: 1.6em;
}
main {
.list {
grid-template-columns: 1fr;
}
.awards {
height: 10em;
}
}
}
.list {
margin-bottom: 2em;
figure {
letter-spacing: 0.25em;
text-transform: uppercase;
font-size: 125%;
display: flex;
flex-flow: column;
}
letter-spacing: 0.25em;
text-transform: uppercase;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 1em;
flex-flow: row wrap;
align-items: flex-end;
button.ready:enabled, a.ready {
color: forestgreen;
border-color: forestgreen;
&:hover {
background: forestgreen;
color: black;
border-color: forestgreen;
a {
color: black;
}
}
}
}