A style sheet language used for describing the look and formatting of a document written in a markup language.
nav {
margin: 1em 0;
width: 100%;
background: #444444;
a {
color: #44a0dd;
text-decoration: none;
}
}
nav
margin: 1em 0
width: 100%
background: #444444
a
color: #44a0dd
text-decoration: none
nav {
margin: 1em 0;
width: 100%;
background: #444444;
}
nav a {
color: #44a0dd;
text-decoration: none;
}
nav {
margin: 1em 0;
width: 100%;
background: #444444;
a {
color: #44a0dd;
text-decoration: none;
}
}
a {
color: #44a0dd;
text-decoration: none;
}
a:hover {
color: #444444;
text-decoration: underline;
}
h1 {
border-style: solid;
border-color: #444444;
border-width: 2px;
border-bottom-width: 4px;
}
a {
color: #44a0dd;
text-decoration: none;
&:hover {
color: #444444;
text-decoration: underline;
}
}
h1 {
border: {
style: solid;
color: #444444;
width: 2px;
bottom: {
width: 4px;
}
}
}
p {
color: #444444;
margin: 10px 2em;
}
p a {
color: #44a0dd;
}
$text: #444444;
$accent: #44a0dd;
$spacing: 2em;
p {
color: $text;
margin: 10px $spacing;
a {
color: $accent;
}
}
.logo {
background: url("/wp-content/themes/theme/assets/images/logo.png");
}
$images: "/wp-content/themes/theme/assets/images/";
.logo {
background: url($images + "logo.png");
}
main {
margin: 0 5%;
}
article.full-content {
width: 90%
}
article.content-sidebar {
width: 70%;
}
article.sidebar-content-sidebar {
width: 50%;
}
$width: 90%;
$sidebar: 20%;
main {
margin: 0 (100% - $width)/2;
}
article.full-content {
width: $width;
}
article.content-sidebar {
width: $width - $sidebar;
}
article.sidebar-content-sidebar {
width: $width - ($sidebar * 2);
}
p {
font-size: 11px;
}
p.error {
color: #ff2b00;
}
p.error-block {
background: #ff7f66;
color: white;
}
$red: hsl(10, 100%, 50%);
$light-red: lighten($red, 20%);
$font: 10.6px;
p {
font-size: round($font);
&.error {
color: $red;
}
&.error-block {
background: $light-red;
color: white;
}
}
#site-title {
font-family: Arial;
font-size: 20px;
font-weight: bold;
color: #444444;
padding: 5% 0;
text-align: center;
}
@mixin large-text {
font: {
family: Arial;
size: 20px;
weight: bold;
}
color: #444444;
}
#site-title {
@include large-text;
padding: 5% 0;
text-align: center;
}