Fixed page.

This commit is contained in:
Ken MacKay
2013-06-06 23:33:27 -07:00
parent 13724390c4
commit 69036151da
3 changed files with 39 additions and 83 deletions
-10
View File
@@ -12,16 +12,6 @@
<![endif]--> <![endif]-->
</head> </head>
<body> <body>
<header class="menu">
<div class="floater2">
<span class="floaterbox">
<strong>Download micro-ecc:</strong>
<a class="download" href="https://github.com/kmackay/micro-ecc/zipball/master">.zip</a>
<a class="download" href="https://github.com/kmackay/micro-ecc/tarball/master">.tar.gz</a>
<small><a href="https://github.com/kmackay/micro-ecc">View On <strong>GitHub</strong></a></small>
</span>
</div>
</header>
<header class="floater"> <header class="floater">
<span class="floaterbox"> <span class="floaterbox">
<strong>Download micro-ecc:</strong> <strong>Download micro-ecc:</strong>
+5
View File
@@ -1,3 +1,8 @@
---
title: micro-ecc
layout: default
---
micro-ecc micro-ecc
========== ==========
+34 -73
View File
@@ -6,23 +6,6 @@ body {
padding: 0; padding: 0;
} }
.menu {
position: absolute;
width: 88px;
top: 0px;
left: 0px;
padding: 10px 20px;
background: #eee;
border: 1px solid #aaa;
margin: 20px 0 0 10px;
}
.menu .heading {
display: inline-block;
margin-top: 5px;
font-weight: 600;
}
.floater { .floater {
position: absolute; position: absolute;
top: 0px; top: 0px;
@@ -40,36 +23,20 @@ body {
margin: 10px 10px 0 0; margin: 10px 10px 0 0;
} }
.floater a.download, .floater a.download {
.floater2 a.download {
border: 1px solid; border: 1px solid;
border-radius: 5px; border-radius: 5px;
padding: 1px 5px; padding: 1px 5px;
margin: 0 5px; margin: 0 5px;
} }
.floater a.download:hover, .floater a.download:hover {
.floater2 a.download:hover {
background: #dbe7f9; background: #dbe7f9;
text-decoration: none; text-decoration: none;
} }
.floater2 {
display: none;
padding: 0 0 0 10px;
margin: 0;
float: right;
}
.floater2 span.floaterbox {
display: inline-block;
padding: 5px 6px 0 0;
border: none;
margin: 0;
}
section { section {
margin: 20px 150px; margin: 20px 100px;
text-align: justify; text-align: justify;
border: 1px solid #cddcf4; border: 1px solid #cddcf4;
padding: 10px; padding: 10px;
@@ -85,13 +52,13 @@ section h1::after {
height: 2px; height: 2px;
width: 50%; width: 50%;
background-color: #ccc; background-color: #ccc;
background: -moz-linear-gradient(left, rgba(219,74,17,1) 0%, rgba(219,74,17,0) 100%); /* FF3.6+ */ background: -moz-linear-gradient(left, rgba(100,210,20,1) 0%, rgba(100,210,20,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(219,74,17,1)), color-stop(100%,rgba(219,74,17,0))); /* Chrome,Safari4+ */ background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(100,210,20,1)), color-stop(100%,rgba(100,210,20,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(219,74,17,1) 0%,rgba(219,74,17,0) 100%); /* Chrome10+,Safari5.1+ */ background: -webkit-linear-gradient(left, rgba(100,210,20,1) 0%,rgba(100,210,20,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(219,74,17,1) 0%,rgba(219,74,17,0) 100%); /* Opera 11.10+ */ background: -o-linear-gradient(left, rgba(100,210,20,1) 0%,rgba(100,210,20,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(219,74,17,1) 0%,rgba(219,74,17,0) 100%); /* IE10+ */ background: -ms-linear-gradient(left, rgba(100,210,20,1) 0%,rgba(100,210,20,0) 100%); /* IE10+ */
background: linear-gradient(to right, rgba(219,74,17,1) 0%,rgba(219,74,17,0) 100%); /* W3C */ background: linear-gradient(to right, rgba(100,210,20,1) 0%,rgba(100,210,20,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#db4a11', endColorstr='#00db4a11',GradientType=1 ); /* IE6-9 */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#64d214', endColorstr='#0064d214',GradientType=1 ); /* IE6-9 */
} }
section h2::after { section h2::after {
@@ -158,39 +125,29 @@ pre {
overflow: auto; overflow: auto;
} }
@media screen and (max-width: 960px) { table {
.menu { border-collapse: collapse;
position: relative; border-spacing: 0;
width: auto; border: 2px solid #ddd;
padding: 5px 10px; margin-left: 35px;
border: none; }
border-bottom: 1px solid #aaa;
margin: 0; tr:nth-child(even) {
} background: #eee;
}
.floater {
display: none; th, td {
} border: 1px solid #ddd;
padding: 5px 10px;
.floater2 { }
display: block;
} @media screen and (max-width: 1200px) {
section { section {
margin: 20px 75px; margin: 20px 8.333%;
} }
} }
@media screen and (max-width: 640px) { @media screen and (max-width: 800px) {
.menu {
border: none;
border-bottom: 1px solid #aaa;
}
.floater2 {
display: none;
}
.floater { .floater {
display: block; display: block;
position: relative; position: relative;
@@ -201,7 +158,7 @@ pre {
.floater span.floaterbox { .floater span.floaterbox {
padding: 5px 10px; padding: 5px 10px;
margin: 0; margin-top: 0;
border: none; border: none;
} }
@@ -209,4 +166,8 @@ pre {
margin: 0; margin: 0;
border: none; border: none;
} }
footer {
border-top: 1px solid #cddcf4;
}
} }