Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a72a196

Browse files
committedMay 23, 2017
Unifying CSS.
1 parent ffa45f1 commit a72a196

File tree

3 files changed

+18
-45
lines changed

3 files changed

+18
-45
lines changed
 

‎nikola/data/themes/base/assets/css/theme.css

+6-15
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,6 @@ body {
9797
display: none;
9898
}
9999

100-
.translationslist p:before {
101-
content: " — ";
102-
}
103-
104-
.translationslist p:first-of-type:before {
105-
content: "";
106-
}
107-
108-
.translationslist p {
109-
display: inline;
110-
}
111-
112100
.postindex article {
113101
border-bottom: 1px solid #4F5151;
114102
padding-bottom: 1em;
@@ -132,7 +120,8 @@ body {
132120
}
133121
.metadata p:before,
134122
.postpromonav .tags li:before,
135-
.postlist .listdate:after {
123+
.postlist .listdate:after,
124+
.translationslist p:before {
136125
content: " — ";
137126
}
138127
.postlist li {
@@ -165,7 +154,8 @@ body {
165154
}
166155

167156
.metadata p:first-of-type:before,
168-
.postpromonav .tags li:first-of-type:before {
157+
.postpromonav .tags li:first-of-type:before,
158+
.translationslist p:first-of-type:before {
169159
content: "";
170160
}
171161
.postpromonav .pager {
@@ -205,7 +195,8 @@ body {
205195
cursor: not-allowed;
206196
}
207197

208-
.metadata p {
198+
.metadata p,
199+
.translationslist p {
209200
display: inline;
210201
}
211202

‎nikola/data/themes/bootstrap3-jinja/assets/css/theme.css

+6-15
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,18 @@ article.post-micro {
118118
}
119119

120120
.metadata p:before,
121-
.postlist .listdate:after {
121+
.postlist .listdate:after,
122+
.translationslist p:before {
122123
content: " — ";
123124
}
124125

125-
.metadata p:first-of-type:before {
126+
.metadata p:first-of-type:before,
127+
.translationslist p:first-of-type:before {
126128
content: "";
127129
}
128130

129-
.metadata p {
131+
.metadata p,
132+
.translationslist p {
130133
display: inline;
131134
}
132135

@@ -140,18 +143,6 @@ article.post-micro {
140143
display: none;
141144
}
142145

143-
.translationslist p:before {
144-
content: " — ";
145-
}
146-
147-
.translationslist p:first-of-type:before {
148-
content: "";
149-
}
150-
151-
.translationslist p {
152-
display: inline;
153-
}
154-
155146
.entry-content {
156147
margin-top: 1em;
157148
}

‎nikola/data/themes/bootstrap3/assets/css/theme.css

+6-15
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,18 @@ article.post-micro {
118118
}
119119

120120
.metadata p:before,
121-
.postlist .listdate:after {
121+
.postlist .listdate:after,
122+
.translationslist p:before {
122123
content: " — ";
123124
}
124125

125-
.metadata p:first-of-type:before {
126+
.metadata p:first-of-type:before,
127+
.translationslist p:first-of-type:before {
126128
content: "";
127129
}
128130

129-
.metadata p {
131+
.metadata p,
132+
.translationslist p {
130133
display: inline;
131134
}
132135

@@ -140,18 +143,6 @@ article.post-micro {
140143
display: none;
141144
}
142145

143-
.translationslist p:before {
144-
content: " — ";
145-
}
146-
147-
.translationslist p:first-of-type:before {
148-
content: "";
149-
}
150-
151-
.translationslist p {
152-
display: inline;
153-
}
154-
155146
.entry-content {
156147
margin-top: 1em;
157148
}

0 commit comments

Comments
 (0)
Please sign in to comment.