Skip to content

Commit

Permalink
Docs: css clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Aug 25, 2018
1 parent 72d57d8 commit 3830394
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions docs/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
font-style: normal;
}

*{
* {
box-sizing: border-box;
}

Expand All @@ -27,7 +27,6 @@ body {
h1 {
margin-top: 30px;
margin-bottom: 40px;
margin-left: 20px;
font-size: 25px;
font-weight: normal;
}
Expand All @@ -38,7 +37,6 @@ h2 {
font-weight: normal;

margin-top: 20px;
margin-left: 20px;
}

h3 {
Expand All @@ -47,7 +45,6 @@ h3 {
font-weight: normal;

margin-top: 20px;
margin-left: 20px;
}

a {
Expand All @@ -61,13 +58,13 @@ a {
width: 260px;
height: 100%;
overflow: auto;
padding-left: 20px;
background: #fafafa;
}

#panel ul {
list-style-type: none;
padding: 0px;
margin-left: 20px;
}

iframe {
Expand All @@ -79,8 +76,8 @@ iframe {
overflow: auto;
}

.filterBlock{
margin: 20px;
.filterBlock {
margin-right: 20px;
position: relative;
}

Expand Down Expand Up @@ -158,12 +155,12 @@ iframe {

@media all and ( max-width: 640px ) {

h1{
h1 {
margin-top: 20px;
margin-bottom: 20px;
}

#panel{
#panel {
position: absolute;
left: 0;
top: 0;
Expand All @@ -175,18 +172,19 @@ iframe {
border-bottom: 1px solid #dedede;
}

#content{
#content {
position: absolute;
left: 0;
top: 90px;
right: 0;
bottom: 0;
font-size: 17px;
line-height: 22px;
padding-left: 20px;
overflow: auto;
}

#navigation{
#navigation {
position: absolute;
left: 0;
top: 90px;
Expand All @@ -197,19 +195,19 @@ iframe {
overflow: auto;
}

iframe{
iframe {
position: absolute;
left: 0;
top: 56px;
width: 100%;
height: calc(100% - 56px);
}

#expandButton{
#expandButton {
display: block;
}

#panel.collapsed{
#panel.collapsed {
height: 56px;
}

Expand Down

0 comments on commit 3830394

Please sign in to comment.