Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Making the forum look tolerable.

  • Loading branch information...
commit 41b3a4c50ad2c04b86243a67e74d79f62ac8ec38 1 parent 254f6e2
@idiot idiot authored
View
80 assets/css/forum.css
@@ -433,9 +433,87 @@ blockquote {
padding: 10px 15px;
}
+
+/* Pagination */
+
+.P {
+ min-height: 20px;
+ padding-bottom: 20px;
+}
+ .P a {
+ float: left;
+ padding: 0 20px;
+
+ line-height: 20px;
+ }
+ .P a.Highlight {
+ color: #333;
+ font-weight: bold;
+ }
+.P .Previous, .P .Next {
+ display: block;
+ float: left;
+ width: 20px;
+ height: 20px;
+ padding: 0;
+ margin: 0;
+
+ background: #eee;
+ color: #555;
+
+ font-size: 17px;
+ line-height: 20px;
+ text-align: center;
+ text-decoration: none;
+
+ -webkit-border-radius: 20px;
+ -moz-border-radius: 20px;
+ border-radius: 20px;
+ -webkit-transition: background .25s, color .25s;
+}
+ .P a.Previous:hover, .P a.Next:hover {
+ color: #fff;
+ background: #555;
+ }
+ .P .Previous {
+ margin-right: 20px;
+ }
+ .P span.Previous, .P span.Next {
+ opacity: .5;
+ }
+ .P .Next {
+ float: right;
+ }
+
+/* Category listing page */
+
+div.primary ul.CategoryList {
+ list-style: none;
+ margin: -30px 0 0 -40px;
+}
+ div.primary ul.CategoryList li {
+ border-bottom: 1px solid #eee;
+ padding: 30px 40px;
+ }
+
+ div.primary ul.CategoryList .Meta {
+ color: #aaa;
+ font-size: 13px;
+ }
+ div.primary ul.CategoryList .Meta span {
+ padding-right: 20px;
+ }
+
+ div.primary ul.CategoryList .Title {
+ font-weight: bold;
+ font-size: 18px;
+
+ display: block;
+ }
+
/* Things I don't want/need */
-#Bookmarks, #Bookmark_List, .Tabs, .CommentInfo, #Form_SaveDraft, #Form_Preview, .Email, .IP, span.Announcement {
+#Bookmarks, #Bookmark_List, .Tabs, .CommentInfo, #Form_SaveDraft, #Form_Preview, .Email, .IP, span.Announcement, .RSS, .Activity, .Activities {
display: none;
}
View
10 assets/css/main.css
@@ -473,7 +473,7 @@ aside#sidebar {
border-bottom: 1px solid #f2f2f2;
}
- aside#sidebar ul li a, aside#sidebar ul li strong {
+ aside#sidebar ul li a, .themes_view aside#sidebar ul li strong {
display: block;
padding: 10px;
@@ -484,7 +484,7 @@ aside#sidebar {
border-bottom: 1px solid #f2f2f2;
}
- aside#sidebar ul li strong {
+ .themes_view aside#sidebar ul li strong {
color: #bbb;
}
aside#sidebar ul li a:hover, aside#sidebar li.active > a {
@@ -667,10 +667,10 @@ figure.image {
box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
-aside#sidebar dl {
+.theme_view aside#sidebar dl {
font-size: 13px;
}
- aside#sidebar dt {
+ .theme_view aside#sidebar dt {
font-weight: bold;
padding: 10px 10px 0;
width: 80px;
@@ -678,7 +678,7 @@ aside#sidebar dl {
position: absolute;
}
- aside#sidebar dd {
+ .theme_view aside#sidebar dd {
padding: 10px 10px 10px 90px;
border-bottom: 1px solid #eee;
View
2  includes/header.php
@@ -38,7 +38,7 @@
</script>
</head>
- <body class="<?php echo $page; ?>">
+ <body class="<?php echo str_replace('/', '_', $page); ?>">
<nav id="top" role="navigation">
<a id="logo" href="/" title="Anchor CMS logo: click to go to the homepage">
<img src="/assets/img/logo.png" alt="Anchor CMS logo">
View
2  pages/themes/view.php
@@ -40,7 +40,7 @@
<dd><a href="/themes/author/<?php echo url_title($theme['author']); ?>"><?php echo $theme['author']; ?></a></dd>
<dt>Views</dt>
- <dd><?php echo $count; ?></dd>
+ <dd><?php echo number_format($count); ?></dd>
</dl>
</aside>
Please sign in to comment.
Something went wrong with that request. Please try again.