~barryprice/junk/wp-theme-xubuntu-website

« back to all changes in this revision

Viewing changes to xubuntu-fourteen/style-sub600.css

  • Committer: Pasi Lallinaho
  • Date: 2015-02-19 15:54:23 UTC
  • Revision ID: pasi@shimmerproject.org-20150219155423-bn9cm48kprfqmbgu
Add the "Xubuntu Fifteen" theme to the repository.

This theme is the new Xubuntu website default theme. It is based on "Xubuntu Fourteen", but since the visual changes are so dramatic, it should be a separate theme. Amongst other things, the new theme introduces responsive design for small-resolution devices.
The backend side of the two themes isn't that different; that said, a code review should be relatively simple.

This commit reverts the "Xubuntu Fourteen" theme to the state it was in revision 50; the last version that was pushed to production.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
html {
2
 
        background-image: none;
3
 
}
4
 
 
5
 
body {
6
 
        padding-bottom: 0.3em;
7
 
}
8
 
 
9
 
#wpcontent, #header, #wpfooter {
10
 
        width: 100%;
11
 
        border-radius: 0;
12
 
}
13
 
 
14
 
#mainwrap {
15
 
        padding: 1.5em;
16
 
}
17
 
 
18
 
#horizontal_navi,
19
 
#sidebar.sidebar-main {
20
 
        margin: 0 1.5em;
21
 
 
22
 
        border-top: none;
23
 
        padding-top: 0;
24
 
}
25
 
 
26
 
        #horizontal_navi ul.menu .menu-item-has-children,
27
 
        #sidebar ul.menu .menu-item-has-children {
28
 
                float: left;
29
 
                clear: none !important;
30
 
                width: 50%;
31
 
        }
32
 
 
33
 
        #horizontal_navi ul.menu .menu-item-has-children:nth-child(2n+1),
34
 
        #sidebar ul.menu .menu-item-has-children:nth-child(2n+1) {
35
 
                clear: left;
36
 
        }
37
 
 
38
 
        #horizontal_navi ul.menu .menu-item-has-children:nth-child(5n+3),
39
 
        #sidebar ul.menu .menu-item-has-children:nth-child(5n+3) {
40
 
                margin-left: -1.5em;
41
 
                padding-left: 1.5em;
42
 
        }
43
 
 
44
 
        #horizontal_navi ul.menu .menu-item-has-children:nth-child(5n+4),
45
 
        #sidebar ul.menu .menu-item-has-children:nth-child(5n+4) {
46
 
                margin-right: -1.5em;
47
 
                padding-right: 1.5em;
48
 
        }
49
 
 
50
 
        #horizontal_navi ul.menu .menu-item-has-children:nth-child(5n+3),
51
 
        #horizontal_navi ul.menu .menu-item-has-children:nth-child(5n+4),
52
 
        #sidebar ul.menu .menu-item-has-children:nth-child(5n+3),
53
 
        #sidebar ul.menu .menu-item-has-children:nth-child(5n+4) {
54
 
                margin-bottom: 1em;
55
 
                padding-top: 1.5em;
56
 
                padding-bottom: 0.5em;
57
 
 
58
 
                background-color: #eee;
59
 
        }
60
 
 
61
 
        #horizontal_navi ul.menu li a,
62
 
        #sidebar ul.menu li a {
63
 
                width: 100%;
64
 
        }
65
 
 
66
 
#wpfooter {
67
 
        padding: 0;
68
 
}
69
 
        #wpfooter .widgets div {
70
 
                margin: 1em 1.5em 0 1.5em;
71
 
 
72
 
                font-size: 95%;
73
 
                line-height: 1.3em;
74
 
        }
75
 
 
76
 
/*  Front page  */
77
 
#sticky {
78
 
        margin: 0 0 1em 0;
79
 
        padding: 1em 1.5em 0.25em 1.5em;
80
 
 
81
 
        background-color: #ddd;
82
 
}
83
 
 
84
 
        #sticky div.widget {
85
 
                float: left;
86
 
                clear: both;
87
 
                width: 100%;
88
 
        }
89
 
                #sticky div.widget div.content {
90
 
                        margin: 0 !important;
91
 
                }
92
 
 
93
 
#sidebar {
94
 
}
95
 
        #sidebar.sidebar-front .ps_wrap img {
96
 
                border-radius: 0;
97
 
        }
98
 
 
99
 
#browse .left-column,
100
 
#browse .right-column {
101
 
        width: 100%;
102
 
}
103
 
 
104
 
/*  Templates  */
105
 
#mainwrap {
106
 
        max-width: 100% !important;
107
 
        padding: 0;
108
 
}
109
 
 
110
 
        #main {
111
 
                max-width: 100%;
112
 
                margin: 1.5em;
113
 
                padding-right: 1.5em;
114
 
        }
115
 
                
116
 
                #main .post-post {
117
 
                        max-width: 100%;
118
 
                }
119
 
 
120
 
                #main figure,
121
 
                #main figure img,
122
 
                #main img {
123
 
                        max-width: 100%;
124
 
                        height: auto;
125
 
 
126
 
                        padding: 0;
127
 
                        margin: 0;
128
 
                }
129
 
                #main figure figcaption {
130
 
                        margin-right: 0;
131
 
                }
132
 
 
133
 
ul.columnlist {
134
 
        -moz-column-gap: 1em;
135
 
        -webkit-column-gap: 1em;
136
 
        column-gap: 1em;
137
 
 
138
 
        -moz-column-count: 2;
139
 
        -webkit-column-count: 2;
140
 
        column-count: 2;
141
 
}
142
 
 
143
 
#browse .left-column li a {
144
 
        width: 100%;
145
 
}
146
 
 
147
 
.hb {
148
 
        margin-right: -1.5em;
149
 
        margin-left: -1.5em;
150
 
        padding: 1em 1.3em 1em 1.3em;
151
 
 
152
 
        font-size: 100%;
153
 
}
154
 
 
155
 
/*  WordPress admin bar */
156
 
#wpadminbar, #wp-toolbar {
157
 
        display: none;
158
 
}
159
 
 
160
 
body.admin-bar {
161
 
        margin-top: -46px !important;
162
 
}
 
 
b'\\ No newline at end of file'