mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 12:19:08 +00:00
Add first draft of single column design for phones
This commit is contained in:
parent
c2c35cfa25
commit
e559ad1097
1 changed files with 26 additions and 0 deletions
|
|
@ -301,6 +301,8 @@ html, body {
|
|||
@include box-sizing(border-box);
|
||||
display: block;
|
||||
@include text-shadow($main-embossed-text-shadow);
|
||||
|
||||
@extend %left-col;
|
||||
}
|
||||
|
||||
&>ul, &>ol {
|
||||
|
|
@ -496,6 +498,8 @@ html, body {
|
|||
@include box-sizing(border-box);
|
||||
@include text-shadow(0px 1px 2px rgba(0,0,0,0.4));
|
||||
|
||||
@extend %right-col;
|
||||
|
||||
&>p { margin: 0; }
|
||||
|
||||
a {
|
||||
|
|
@ -525,6 +529,7 @@ html, body {
|
|||
// RESPONSIVE DESIGN
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// These are the styles for phones and tablets
|
||||
// There are also a couple styles disperesed
|
||||
|
||||
@media (max-width: $tablet-width) {
|
||||
.tocify-wrapper {
|
||||
|
|
@ -543,3 +548,24 @@ html, body {
|
|||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $phone-width) {
|
||||
.dark-box {
|
||||
display: none;
|
||||
}
|
||||
|
||||
%left-col {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
%right-col {
|
||||
width: auto;
|
||||
float: none;
|
||||
|
||||
margin-bottom: $main-padding;
|
||||
|
||||
&+blockquote, &+pre {
|
||||
margin-top: -$main-padding;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue