reagent/site/public/css/main.css

262 lines
4.1 KiB
CSS
Raw Normal View History

2014-01-03 14:52:44 +00:00
2014-01-07 16:01:28 +00:00
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
2014-01-30 21:29:42 +00:00
.clearfix:before, .clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
2015-10-13 11:03:07 +00:00
body {
background-color: #eeeeec;
text-rendering: optimizeLegibility;
}
2014-01-20 08:43:45 +00:00
div.nav {
position: absolute;
top: 0;
left: 0;
right: 0;
}
ul.nav {
margin: 0 auto;
width: 750px;
height: 40px;
padding-left: 60px;
2015-10-13 11:03:07 +00:00
padding-top: 18px;
2014-01-24 10:03:01 +00:00
list-style-type: none;
2014-01-20 08:43:45 +00:00
}
ul.nav > li {
float: left;
margin-right: 60px;
}
ul.nav > li > a {
text-decoration: none;
text-transform: uppercase;
2015-10-13 11:03:07 +00:00
letter-spacing: 4px;
2014-01-20 08:43:45 +00:00
font-size: 11px;
color: #777;
}
ul.nav > li.brand > a {
color: #444;
}
@media (max-width: 768px) {
div.nav {
position: static;
background-color: #fff;
}
ul.nav {
width: 100%;
padding: 18px 27px;
}
ul.nav > li {
float: left;
margin-right: 30px;
}
}
2014-01-17 10:12:11 +00:00
.reagent-demo {
2014-01-03 14:52:44 +00:00
background-color: #fff;
2014-01-20 08:43:45 +00:00
margin: 60px -100px;
2015-10-13 11:03:07 +00:00
padding: 29px 60px 45px 60px;
2014-01-03 14:52:44 +00:00
}
2014-01-17 10:12:11 +00:00
.reagent-demo > h1 {
2014-01-20 08:43:45 +00:00
font-size: 48px;
2015-10-13 11:03:07 +00:00
color: rgba(0, 0, 0, 0.75);
2014-01-20 08:43:45 +00:00
font-family: 'HelveticaNeue-Light', 'Helvetica Neue', arial;
font-weight: normal;
line-height: 1.25em;
2014-02-03 09:20:05 +00:00
margin-top: 0.25em;
margin-bottom: 1em;
2014-01-07 16:01:28 +00:00
}
2014-01-20 09:46:51 +00:00
.reagent-demo > h1 > a {
color: inherit;
text-decoration: none;
}
2014-01-07 16:01:28 +00:00
@media (max-width: 768px) {
body {
width: auto;
margin: 0 0;
}
2014-01-17 10:12:11 +00:00
.reagent-demo {
2014-01-07 16:01:28 +00:00
margin: 0 0;
2014-01-20 08:43:45 +00:00
padding: 36px 27px;
2014-01-07 16:01:28 +00:00
width: 100%;
}
.github-badge {
display: none;
}
.demo-source {
overflow-x: scroll;
}
.test-output-mini {
display: none;
}
2014-01-07 16:01:28 +00:00
}
2014-01-07 11:45:08 +00:00
.test-output-mini {
text-align: right;
2014-01-07 16:01:28 +00:00
margin-right: -180px;
2014-01-07 11:45:08 +00:00
}
2014-01-17 10:12:11 +00:00
.reagent-demo h2 {
2015-12-21 07:14:11 +00:00
font-size: 24px;
2015-10-13 11:03:07 +00:00
line-height: 26px;
2015-10-14 21:34:25 +00:00
margin-top: 38px;
margin-bottom: 12px;
2015-12-21 07:14:11 +00:00
color: rgba(0, 0, 0, 0.6);
2015-10-13 11:03:07 +00:00
}
.reagent-demo h2 + p {
margin-top: 0;
2014-01-07 11:45:08 +00:00
}
2014-01-09 13:37:11 +00:00
.demo-text > p, .demo-text > ul {
2014-01-07 11:45:08 +00:00
font-family: georgia, serif;
font-size: 18px;
2015-10-13 11:03:07 +00:00
line-height: 1.611em;
color: rgba(0, 0, 0, 0.8);
2015-12-09 09:12:05 +00:00
margin-bottom: 1em;
martin-top: 1em;
2014-01-03 14:52:44 +00:00
}
.demo-text > p > code, .demo-text > ul > li > code {
2015-10-13 11:03:07 +00:00
font-size: 16px;
2015-10-14 21:34:25 +00:00
background-color: #f5f5f4;
2015-10-13 11:03:07 +00:00
padding: 0 3px;
}
.demo-text > ul > li {
2015-12-09 09:12:05 +00:00
margin-bottom: 0.5em;
}
2014-01-03 14:52:44 +00:00
.demo-example {
2015-10-14 21:34:25 +00:00
background-color: #f6f6f5;
2014-01-03 14:52:44 +00:00
}
.demo-source {
2015-10-13 11:03:07 +00:00
background-color: #fbfbfa;
color: rgba(0, 0, 0, 0.75);
}
.demo-source pre {
font-family: Consolas, Menlo, Courier, monospace;
font-size: 14px;
line-height: 20px;
}
.demo-example div, .demo-example p {
color: rgba(0, 0, 0, 0.6);
line-height: 1.2em;
}
.demo-example, .demo-source {
2015-12-09 09:12:05 +00:00
margin: 29px -60px;
padding: 29px 60px;
}
.demo-example + .demo-source {
margin-top: -29px;
2014-01-07 11:45:08 +00:00
}
.simple-demo, .simple-demo input {
font-size: 18px;
2014-01-03 14:52:44 +00:00
}
.demo-heading {
margin-top: 0;
2015-10-13 11:03:07 +00:00
color: #aaa;
2014-01-03 14:52:44 +00:00
font-size: 14px;
2015-10-13 11:03:07 +00:00
line-height: 29px;
margin-top: 3px;
2014-01-07 11:45:08 +00:00
}
.demo-example-hide {
2015-10-13 11:03:07 +00:00
margin-top: 3px;
2014-01-07 11:45:08 +00:00
float: right;
cursor: pointer;
2015-10-13 11:03:07 +00:00
color: #bbb;
2014-01-30 21:29:42 +00:00
}
2014-02-03 09:20:05 +00:00
.news-read-more {
text-decoration: none;
font-size: 16px;
}
2014-01-30 21:29:42 +00:00
/* Color demo */
.color-plate {
float: left;
height: 100px;
width: 100px;
}
.color-slider > input {
width: 100%;
}
2014-01-30 21:29:42 +00:00
.color-samples {
clear: both;
padding-top: 0.5em;
2014-02-22 11:36:34 +00:00
}
/* Binary clock */
2014-02-22 16:24:22 +00:00
.clock-main {
2014-02-22 11:36:34 +00:00
background: #333;
color: #cdcdcd;
2014-02-22 16:24:22 +00:00
padding-top: 55px;
2014-02-22 11:36:34 +00:00
padding-left: 20px;
float: left;
font-size: 28px;
line-height: 34px;
width: 620px;
2014-02-22 16:24:22 +00:00
cursor: pointer;
2014-02-22 11:36:34 +00:00
}
2014-02-22 16:24:22 +00:00
.clock-main.wide {
width: 790px;
2014-02-22 11:36:34 +00:00
}
2014-02-22 16:24:22 +00:00
.clock-cell {
2014-02-22 11:36:34 +00:00
width: 55px;
height: 55px;
text-align: center;
margin: 0 20px 20px 0;
}
2014-02-22 16:24:22 +00:00
.clock-cell.dark {
2014-02-22 11:36:34 +00:00
background-color: #454545;
}
2014-02-22 16:24:22 +00:00
.clock-cell.light {
2014-02-22 11:36:34 +00:00
background-color: #eee;
}
2014-02-22 16:24:22 +00:00
.clock-col {
2014-02-22 11:36:34 +00:00
margin: 0;
float: left;
}
2014-02-22 16:24:22 +00:00
.clock-legend > .clock-cell {
margin-top: 10px;
2014-02-22 11:36:34 +00:00
}
2014-02-22 16:24:22 +00:00
.clock-pair {
2014-02-22 11:36:34 +00:00
margin: 0;
float: left;
}
2014-02-22 16:24:22 +00:00
.clock-pair:not(:last-child) {
2014-02-22 11:36:34 +00:00
margin-right: 20px;
2014-02-22 16:24:22 +00:00
/* border-right: 1px solid #454545; */
2014-02-22 11:36:34 +00:00
}