forked from kongondo/Blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProcessBlog.css
More file actions
132 lines (101 loc) · 3.3 KB
/
ProcessBlog.css
File metadata and controls
132 lines (101 loc) · 3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/**
*
* CSS styles for ProcessBlog.
*
* @author Francis Otieno (Kongondo) <[email protected]>
*
* https://github.com/kongondo/Blog
* Created February 2014
*
*/
/* Prevent "jump" on shorter pages */
html {overflow-y:scroll;}
/* #### BLOG MENU #### */
ul.blog_menu {
/*float:left;*/
width:100%;
/*display: table;*/
padding:1em 0 5.0em 0;
margin:0;
/*height: 87px;*/
list-style-type:none;
}
ul.blog_menu li {
display: table-cell;
width: 14.285714%; /* (100 / numItems)% */
text-align: center;
}
a.blog_menu_item {
float:left;
width:6em;
text-decoration:none;
color:inherit;
padding:0.2em 0.6em;
font-size: 1.15em;
font-weight: bold;
}
a.blog:hover {color:#A6A6A6;}
ul.blog_menu > li {display:inline;}
/* current blog menu item */
a.onblog {color: #f64704;}
/* #### INPUT FIELDS #### */
textarea#categories_add_text, textarea#tags_add_text {margin-bottom: 1em;}
input#quickpost_title, input#quickpost_body{
width: 100%;
box-sizing: border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing: border-box;
}
input#add_and_publish, input#remove_tpl_files {
margin-left: 1em;
position: relative;
top: 0.3em;
}
/* #### TABLES #### */
/* various tables */
table#archives, table#posts_overview, table.authorsTable {width: 100%;}
/*** arachives table ***/
table#archives td, table#archives th {text-align: center;}
table#archives td:nth-child(1), table#archives th:nth-child(1) {text-align: left;}
table#archives th {font-weight: bold;}
/*** posts table ***/
table#posts_overview td {font-size: 1em; padding-bottom: 0.75em;}
table#posts_overview td:nth-child(1), table#posts_overview td:nth-child(3) {width:20%;}
table#posts_overview td.large {font-weight: bold; font-size: 1.15em;}
table.postsTable span.date-sorter {display: none;}
span.limit-select {float: right;}
/*** tags table ***/
/* checkboxes column */
table.tagsTable th:nth-child(1), table.categoriesTable th:nth-child(1) {width:3%;}
/* published status column */
table.tagsTable th:nth-child(3), table.categoriesTable th:nth-child(3) {width:12%;}
/* number of posts using this tag/category column [4th/last column] */
table.tagsTable th:nth-child(4), table.categoriesTable th:nth-child(4) {width:10%;}
/*** authors' table ***/
table.authorsTable td {height:85px;}
table.authorsTable td:nth-child(1) {width: 8%;}/* blog author image column */
table.authorsTable td:nth-child(3), table.authorsTable td:nth-child(4) {width: 10%;}/* posts [published and pending(unpublished)]- /3rd & 4th(last) columns */
/*** settings table ***/
table.settingsTable th:nth-child(1) {width:22%;}
table.settingsTable {border: none;}
/*** widgets table ***/
table.widgetsTable th:nth-child(3) {width: 10%;}/* unavailable column */
/*** other tables ***/
table.AdminDataList tbody td, table.settingsTable tbody th {border-right: none;}/* overriding some processwire markup admin table css */
/* other */
li.edit_fieldsets {margin-top: 2em !important;}
label#add_new, label#remove_tf {
margin: 0.75em 0 0 0.25em;
display: inline-block;
vertical-align: top;
}
span.unpublished, span.red {color: red;}/* for highlighting some text */
div.block {width: 20%; float: left;}
div#components:after {/* clear blog-style div's float */
content: '\0020';
visibility: hidden;
display: block;
height: 0;
clear: both;
}
div.block ol li {margin: 0 0 0 20px; padding: 0;}