Skip to content

Instantly share code, notes, and snippets.

View robertcoopercode's full-sized avatar

Robert Cooper robertcoopercode

View GitHub Profile
.container {
width: 100%;
}
article[role="main"] {
float: left;
width: 600px / 960px * 100%;
}
aside[role="complementary"] {
.message,
.message-info,
.message-error {
padding: .5em;
border-radius: 3px;
}
.message-info {
background-color: lightblue;
}
.message {
padding: .5em;
border-radius: 3px;
}
.message-info {
@extend .message;
background-color: lightblue;
}
.box {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
border-radius: 10px;
}
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}
.box {
@include border-radius(10px);
}
header {
display: flex;
margin: 0;
}
footer {
background-color: #000;
}
@import 'header';
@import 'footer';
header {
display: flex;
margin: 0;
}
a {
color: #0B5351;
}
a:hover {
color: #6B8F71;
}