Skip to content

Commit

Permalink
white space mostly
Browse files Browse the repository at this point in the history
  • Loading branch information
matthornsby committed Aug 5, 2015
1 parent dc28604 commit b0f894f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions demo/demo-nav.css
Expand Up @@ -20,6 +20,7 @@ body > header nav {

body > header nav ul {
overflow: hidden;

}

body > header nav ul.prioritized:not(.opened) {
Expand All @@ -29,6 +30,7 @@ body > header nav ul.prioritized:not(.opened) {
margin-left: -2px;
height: 2.5rem;
height: calc(2.5rem - 2px);

}

body > header nav > ul.toPrioritize > li{
Expand Down
2 changes: 2 additions & 0 deletions index.html
Expand Up @@ -18,6 +18,7 @@
<link rel="stylesheet" href="demo/demo-content.css"><!-- content styling, you don't need this -->

<!-- this is form demo tracking, remove it for your implementation -->

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand All @@ -26,6 +27,7 @@
ga('create', 'UA-4314936-4', 'auto');
ga('send', 'pageview');
</script>

</head>
<body>
<a href="#main" id="skipmain" class="hidden">Skip to content</a>
Expand Down
10 changes: 5 additions & 5 deletions src/priority-navigation.css
Expand Up @@ -42,11 +42,11 @@
.toPrioritize:not(.opened) > li[data-priority="0"],
.toPrioritize.prioritized:not(.opened) > li.demoted,
.toPrioritize.prioritized:not(.opened) > li[data-priority="less"] {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
Expand All @@ -73,4 +73,4 @@
.toPrioritize.prioritized.opened > li[data-priority="more"]{
position: absolute;
display: none !important;
}
}

0 comments on commit b0f894f

Please sign in to comment.