Skip to content

Commit

Permalink
halfline reimplementation and mobile layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TortoiseWrath committed Feb 7, 2019
1 parent 5fd9996 commit cc6cd1c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
Binary file removed anonpress.org/assets/halfline.gif
Binary file not shown.
1 change: 1 addition & 0 deletions anonpress.org/includes/nav.php
Expand Up @@ -60,6 +60,7 @@
<li><a href="/mobile">for BlackBerry</a>
<li><a href="/choices">for everything else</a>
</ul>
<li class="mobileonly"><a href="mailto:ap@anonpress.org">Contact Us</a>
<li><a href="https://anonpress.net/view_cart.asp">Check cart</a>
</ul>
</nav>
Expand Down
3 changes: 2 additions & 1 deletion anonpress.org/index.php
Expand Up @@ -38,6 +38,7 @@
}
body>section {
margin-left: 10%;
margin-right: 10%;
}

#randquote {
Expand Down Expand Up @@ -78,7 +79,7 @@
padding: 0.5em;
margin: 2px 5px 5px 2px;
position: relative;
background-color: #fff;
background-color: rgba(255,255,255,187);
}
div.flex>section {
min-width: 350px;
Expand Down
3 changes: 0 additions & 3 deletions anonpress.org/lib/ace-responsive-menu/ace-responsive-menu.css
Expand Up @@ -259,9 +259,6 @@ E-mail: samson3d@gmail.com
.ace-responsive-menu li ul.sub-menu li ul.sub-menu li a {
padding-left: 5em;
}
h1 {
display: none;
}
}

.ace-responsive-menu>li>a:only-child {
Expand Down
15 changes: 13 additions & 2 deletions anonpress.org/style.css
Expand Up @@ -7,8 +7,7 @@ h1, h2, h3 {
}

.halfline {
background: url(/assets/halfline.gif);
background-attachment: local;
background: repeating-linear-gradient(to bottom, #fff, #fff 2px, transparent 2px, transparent 3px), linear-gradient(to right, #f1f1f1, #f5f6f6 25vw, #fff 50vw) no-repeat;
}

html {
Expand Down Expand Up @@ -85,4 +84,16 @@ footer {
text-align: right;
font-size: small;
margin: 1em;
}

@media screen and (min-width: 840px) {
.mobileonly {
display: none !important;
}
}

@media screen and (max-width: 840px) {
header, .nomobile {
display: none;
}
}

0 comments on commit cc6cd1c

Please sign in to comment.