0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-24 09:36:48 -05:00
liabru-matter-js/demo/css/style.css

131 lines
1.7 KiB
CSS
Raw Normal View History

2014-02-19 09:15:05 -05:00
body {
background: #222;
font-family: Georgia, Times, "Times New Roman", serif;
color: #aaa;
}
body.mobile {
font-size: 0.9em;
}
* {
padding: 0;
margin: 0;
}
h1 {
color: #fff;
display: block;
margin: 0 0 1em 0;
font-weight: normal;
font-size: 30px;
}
2014-04-28 12:26:03 -04:00
.is-mobile h1 {
font-size: 18px;
}
2014-02-19 09:15:05 -05:00
.nav-sep {
padding: 0 5px;
}
2015-08-25 18:52:25 -04:00
.nav-links a,
.nav-links a:link,
.nav-links a:visited,
.nav-links a:active,
.nav-links a:hover {
2014-02-19 09:15:05 -05:00
color: #aaa;
text-decoration: none;
border-bottom: 1px solid #555;
padding: 0 0 2px 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 48px 280px 0 32px;
2014-03-20 11:05:42 -04:00
}
2014-04-29 12:35:27 -04:00
.ins-auto-hide .container {
padding-left: 32px;
}
.gui-auto-hide .container {
padding-right: 32px;
}
2014-03-20 11:05:42 -04:00
.is-mobile .container {
padding: 6% 6% 0 6%;
}
.is-fullscreen #canvas-container {
width: 100%;
height: 100%;
}
.is-fullscreen #canvas-container canvas {
margin: 0;
max-width: 100%;
max-height: 100%;
2014-02-19 09:15:05 -05:00
}
.mobile .container {
padding: 50px 40px 0 40px;
}
canvas {
margin: 40px 0;
max-width: 100%;
}
.mobile canvas {
margin: 0;
}
canvas:active {
cursor: pointer;
cursor: -webkit-grabbing;
}
.controls-container {
margin: 40px 0 0 0;
width: 100%;
}
#canvas-container {
margin: 20px 0;
}
#demo-select {
padding: 8px 10px;
width: 40%;
color: #000;
}
#demo-reset {
padding: 8px 10px;
color: #000;
}
#demo-start {
display: block;
margin: 50px 0;
padding: 20px 40px;
width: 200px;
color: #000;
2014-04-25 12:00:42 -04:00
}
2015-08-25 18:52:25 -04:00
.demo-view-source {
display: inline-block;
margin: 0 0 0 22px;
font-size: 13px;
opacity: 0.5;
}
2014-04-28 07:50:56 -04:00
.dg.a {
margin-right: 0;
}
svg {
display: none;
2014-02-19 09:15:05 -05:00
}