simple-styleguide.css in Simple Style Guide 8
.simple-styleguide--site-styles { width: 100%; max-width: 1030px; margin-left: auto; margin-right: auto; } .simple-styleguide--site-styles h3.simple-styleguide--sectionhead { padding: 20px 20px 12px 0; margin: 80px 0 10px 0; color: #000; font-size: 1.2rem; position: relative; border-bottom: 4px solid #000; border-top: 1px solid #000; text-transform: uppercase; } .simple-styleguide--site-styles h3.simple-styleguide--sectionhead.first { margin-top: 20px; } .simple-styleguide--site-styles .simple-styleguide { margin: 40px 0; } .simple-styleguide--site-styles .simple-styleguide:after { content: ""; display: block; clear: both; } .simple-styleguide--site-styles .label { background: #ccc; } .simple-styleguide--site-styles .simple-styleguide code { display: block; background: #eee; padding: 10px; margin-top: 20px; color: #9e9e9e; line-height: 1.5; } .simple-styleguide--jump-nav { display: flex; flex-wrap: wrap; margin: 5px 0 0 0; } .simple-styleguide--jump-nav li { list-style: none; margin: 0 0 10px 0; padding: 0; width: 100%; } @media (min-width: 480px) { .simple-styleguide--jump-nav li { width: 50%; } } @media (min-width: 600px) { .simple-styleguide--jump-nav li { width: 25%; } } .simple-styleguide--view-sourecode { cursor: pointer; } .simple-styleguide pre { display: none; background: #f1f1f1; padding: 20px; border: 1px solid #fff; border-bottom: 4px solid #fff; font-family: monospace; } .simple-styleguide pre.active { display: block; } .simple-styleguide--pattern { margin-top: 20px; } .simple-styleguide--colors { display: flex; flex-wrap: wrap; } .simple-styleguide--color { /*border: 1px solid #d3d3d3;*/ margin-right: 2%; margin-bottom: 15px; width: 48%; } .simple-styleguide--color:nth-child(2n) { margin-right: 0; } @media (min-width: 600px) { .simple-styleguide--color { margin-right: 2%; margin-bottom: 15px; width: 23%; } .simple-styleguide--color:nth-child(2n) { margin-right: 2%; } .simple-styleguide--color:nth-child(4n) { margin-right: 0; } } .simple-styleguide--color--swatch--class, .simple-styleguide--color--swatch--values, .simple-styleguide--color--swatch--usage { display: block; font-size: 10px; font-family: sans-serif; } .simple-styleguide--color--swatch--class label, .simple-styleguide--color--swatch--values label, .simple-styleguide--color--swatch label { display: inline; font-weight: bold; } .simple-styleguide--color--swatch { padding: 4%; background: #fff; } .simple-styleguide--site-styles .simple-styleguide--color--block { width: 100%; height: 100px; border: 1px solid #fff; } .simple-styleguide .calculate .info { display: block; font-size: 10px; font-family: sans-serif; } .simple-styleguide .calculate .info label { font-weight: bold; display: inline; }
File
css/simple-styleguide.cssView source
- .simple-styleguide--site-styles {
- width: 100%;
- max-width: 1030px;
- margin-left: auto;
- margin-right: auto;
- }
- .simple-styleguide--site-styles h3.simple-styleguide--sectionhead {
- padding: 20px 20px 12px 0;
- margin: 80px 0 10px 0;
- color: #000;
- font-size: 1.2rem;
- position: relative;
- border-bottom: 4px solid #000;
- border-top: 1px solid #000;
- text-transform: uppercase;
- }
- .simple-styleguide--site-styles h3.simple-styleguide--sectionhead.first {
- margin-top: 20px;
- }
- .simple-styleguide--site-styles .simple-styleguide {
- margin: 40px 0;
- }
- .simple-styleguide--site-styles .simple-styleguide:after {
- content: "";
- display: block;
- clear: both;
- }
- .simple-styleguide--site-styles .label {
- background: #ccc;
- }
- .simple-styleguide--site-styles .simple-styleguide code {
- display: block;
- background: #eee;
- padding: 10px;
- margin-top: 20px;
- color: #9e9e9e;
- line-height: 1.5;
- }
-
- .simple-styleguide--jump-nav {
- display: flex;
- flex-wrap: wrap;
- margin: 5px 0 0 0;
- }
-
- .simple-styleguide--jump-nav li {
- list-style: none;
- margin: 0 0 10px 0;
- padding: 0;
- width: 100%;
- }
-
- @media (min-width: 480px) {
- .simple-styleguide--jump-nav li {
- width: 50%;
- }
- }
-
- @media (min-width: 600px) {
- .simple-styleguide--jump-nav li {
- width: 25%;
- }
- }
-
- .simple-styleguide--view-sourecode {
- cursor: pointer;
- }
-
- .simple-styleguide pre {
- display: none;
- background: #f1f1f1;
- padding: 20px;
- border: 1px solid #fff;
- border-bottom: 4px solid #fff;
- font-family: monospace;
- }
-
- .simple-styleguide pre.active {
- display: block;
- }
-
- .simple-styleguide--pattern {
- margin-top: 20px;
- }
-
- .simple-styleguide--colors {
- display: flex;
- flex-wrap: wrap;
- }
-
- .simple-styleguide--color {
- /*border: 1px solid #d3d3d3;*/
- margin-right: 2%;
- margin-bottom: 15px;
- width: 48%;
- }
-
- .simple-styleguide--color:nth-child(2n) {
- margin-right: 0;
- }
-
- @media (min-width: 600px) {
- .simple-styleguide--color {
- margin-right: 2%;
- margin-bottom: 15px;
- width: 23%;
- }
- .simple-styleguide--color:nth-child(2n) {
- margin-right: 2%;
- }
- .simple-styleguide--color:nth-child(4n) {
- margin-right: 0;
- }
- }
-
-
- .simple-styleguide--color--swatch--class,
- .simple-styleguide--color--swatch--values,
- .simple-styleguide--color--swatch--usage {
- display: block;
- font-size: 10px;
- font-family: sans-serif;
- }
-
- .simple-styleguide--color--swatch--class label,
- .simple-styleguide--color--swatch--values label,
- .simple-styleguide--color--swatch label {
- display: inline;
- font-weight: bold;
- }
-
- .simple-styleguide--color--swatch {
- padding: 4%;
- background: #fff;
- }
-
- .simple-styleguide--site-styles .simple-styleguide--color--block {
- width: 100%;
- height: 100px;
- border: 1px solid #fff;
- }
-
- .simple-styleguide .calculate .info {
- display: block;
- font-size: 10px;
- font-family: sans-serif;
- }
-
- .simple-styleguide .calculate .info label {
- font-weight: bold;
- display: inline;
- }