reagent/site/demo.css

84 lines
1.2 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-17 10:12:11 +00:00
.reagent-demo {
2014-01-03 14:52:44 +00:00
background-color: #fff;
2014-01-07 11:45:08 +00:00
margin: 40px -100px;
2014-01-03 14:52:44 +00:00
padding: 40px 60px;
}
2014-01-17 10:12:11 +00:00
.reagent-demo > h1 {
2014-01-07 16:01:28 +00:00
font-size: 36px;
line-height: 1.1em;
}
@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;
padding: 27px 27px;
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 {
2014-01-03 14:52:44 +00:00
margin-top: 48px;
2014-01-07 11:45:08 +00:00
color: #555;
}
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;
line-height: 27px;
color: #444;
2014-01-03 14:52:44 +00:00
}
.demo-example {
background-color: #ebebeb;
}
.demo-source {
background-color: #f8f8f5;
color: #555;
}
.demo-example, .demo-source {
2014-01-07 11:45:08 +00:00
margin: 0px -22px;
padding: 22px 22px;
}
.simple-demo, .simple-demo input {
font-size: 18px;
2014-01-03 14:52:44 +00:00
}
.demo-heading {
margin-top: 0;
color: #999;
font-size: 14px;
2014-01-07 11:45:08 +00:00
}
.demo-example-hide {
float: right;
cursor: pointer;
2014-01-03 14:52:44 +00:00
}