removing nav on mobile, moving nav into mobile first query, changing the docs a bit, adding support section, testing out markdown IDs as links for README
This commit is contained in:
@ -4,8 +4,7 @@
|
||||
margin-top: 6rem;
|
||||
text-align: center; }
|
||||
.value-prop {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
margin-top: 1rem; }
|
||||
.value-props {
|
||||
margin-top: 4rem;
|
||||
margin-bottom: 4rem; }
|
||||
@ -51,13 +50,15 @@
|
||||
letter-spacing: normal; }
|
||||
.code-example {
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
margin-bottom: 0; }
|
||||
.code-example-body {
|
||||
white-space: pre;
|
||||
word-wrap: break-word
|
||||
word-wrap: break-word }
|
||||
.navbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Larger than phone */
|
||||
@media (min-width: 550px) {
|
||||
.header {
|
||||
margin-top: 18rem; }
|
||||
@ -77,142 +78,117 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Larger than tablet */
|
||||
@media (min-width: 750px) {
|
||||
/* Navbar */
|
||||
.navbar + .docs-section {
|
||||
border-top-width: 0; }
|
||||
.navbar,
|
||||
.navbar-spacer {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 6.5rem;
|
||||
background: #fff;
|
||||
z-index: 99;
|
||||
border-top: 1px solid #eee;
|
||||
border-bottom: 1px solid #eee; }
|
||||
.navbar-spacer {
|
||||
display: none; }
|
||||
.navbar > .container {
|
||||
width: 100%; }
|
||||
.navbar-list {
|
||||
list-style: none;
|
||||
margin-bottom: 0; }
|
||||
.navbar-item {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-bottom: 0; }
|
||||
.navbar-link {
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .2rem;
|
||||
margin-right: 35px;
|
||||
text-decoration: none;
|
||||
line-height: 6.3rem;
|
||||
color: #222; }
|
||||
.navbar-link.active {
|
||||
color: #33C3F0; }
|
||||
.has-docked-nav .navbar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0; }
|
||||
.has-docked-nav .navbar-spacer {
|
||||
display: block; }
|
||||
/* Re-overiding the width 100% declaration to match size of % based container */
|
||||
.has-docked-nav .navbar > .container {
|
||||
width: 80%; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.navbar + .docs-section {
|
||||
border-top-width: 0;
|
||||
}
|
||||
.navbar,
|
||||
.navbar-spacer {
|
||||
width: 100%;
|
||||
height: 6.5rem;
|
||||
background: #fff;
|
||||
z-index: 99;
|
||||
border-top: 1px solid #eee;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.navbar-spacer {
|
||||
display: none;
|
||||
}
|
||||
.navbar > .container {
|
||||
width: 100%;
|
||||
}
|
||||
.navbar-list {
|
||||
list-style: none;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.navbar-item {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.navbar-link {
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .2rem;
|
||||
margin-right: 50px;
|
||||
text-decoration: none;
|
||||
line-height: 6.3rem;
|
||||
color: #222;
|
||||
}
|
||||
.navbar-link.active {
|
||||
color: #33C3F0;
|
||||
}
|
||||
.has-docked-nav .navbar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.has-docked-nav .navbar-spacer {
|
||||
display: block;
|
||||
}
|
||||
/* Re-overiding the width 100% declaration to match size of % based container */
|
||||
.has-docked-nav .navbar > .container {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.popover.open {
|
||||
display: block;
|
||||
}
|
||||
.popover {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 4px;
|
||||
top: 92%;
|
||||
left: -50%;
|
||||
-webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
|
||||
-moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
|
||||
filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
|
||||
}
|
||||
.popover-item:first-child .popover-link:after,
|
||||
.popover-item:first-child .popover-link:before {
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
.popover-item:first-child .popover-link:after {
|
||||
border-color: rgba(255, 255, 255, 0);
|
||||
border-bottom-color: #fff;
|
||||
border-width: 10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
.popover-item:first-child .popover-link:before {
|
||||
border-color: rgba(238, 238, 238, 0);
|
||||
border-bottom-color: #eee;
|
||||
border-width: 11px;
|
||||
margin-left: -11px;
|
||||
}
|
||||
.popover-list {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.popover-item {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.popover-link {
|
||||
position: relative;
|
||||
color: #222;
|
||||
display: block;
|
||||
padding: 8px 20px;
|
||||
border-bottom: 1px solid #eee;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.0rem;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
letter-spacing: .1rem;
|
||||
}
|
||||
.popover-item:first-child .popover-link {
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
.popover-item:last-child .popover-link {
|
||||
border-radius: 0 0 4px 4px;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
.popover-link:hover {
|
||||
color: #fff;
|
||||
background: #33C3F0;
|
||||
}
|
||||
.popover-link:hover,
|
||||
.popover-item:first-child .popover-link:hover:after {
|
||||
border-bottom-color: #33C3F0;
|
||||
/* Popover */
|
||||
.popover.open {
|
||||
display: block;
|
||||
}
|
||||
.popover {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 4px;
|
||||
top: 92%;
|
||||
left: -50%;
|
||||
-webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
|
||||
-moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
|
||||
filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); }
|
||||
.popover-item:first-child .popover-link:after,
|
||||
.popover-item:first-child .popover-link:before {
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none; }
|
||||
.popover-item:first-child .popover-link:after {
|
||||
border-color: rgba(255, 255, 255, 0);
|
||||
border-bottom-color: #fff;
|
||||
border-width: 10px;
|
||||
margin-left: -10px; }
|
||||
.popover-item:first-child .popover-link:before {
|
||||
border-color: rgba(238, 238, 238, 0);
|
||||
border-bottom-color: #eee;
|
||||
border-width: 11px;
|
||||
margin-left: -11px; }
|
||||
.popover-list {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none; }
|
||||
.popover-item {
|
||||
padding: 0;
|
||||
margin: 0; }
|
||||
.popover-link {
|
||||
position: relative;
|
||||
color: #222;
|
||||
display: block;
|
||||
padding: 8px 20px;
|
||||
border-bottom: 1px solid #eee;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.0rem;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
letter-spacing: .1rem; }
|
||||
.popover-item:first-child .popover-link {
|
||||
border-radius: 4px 4px 0 0; }
|
||||
.popover-item:last-child .popover-link {
|
||||
border-radius: 0 0 4px 4px;
|
||||
border-bottom-width: 0; }
|
||||
.popover-link:hover {
|
||||
color: #fff;
|
||||
background: #33C3F0; }
|
||||
.popover-link:hover,
|
||||
.popover-item:first-child .popover-link:hover:after {
|
||||
border-bottom-color: #33C3F0; }
|
||||
}
|
1
stylesheets/skeleton.css
vendored
1
stylesheets/skeleton.css
vendored
@ -46,6 +46,7 @@
|
||||
.row .columns:first-child {
|
||||
margin-left: 0; }
|
||||
|
||||
/* For devices larger than 550px */
|
||||
@media (min-width: 550px) {
|
||||
|
||||
.container .column,
|
||||
|
Reference in New Issue
Block a user