This repository has been archived by the owner on Aug 1, 2019. It is now read-only.
forked from WPBuddy/largo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
posts-and-pages.less
152 lines (143 loc) · 2.7 KB
/
posts-and-pages.less
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
// --------------------------------------------
// POST/PAGE ELEMENTS
// --------------------------------------------
.post-header,
.page-header,
.entry-content,
.post-footer,
article.story {
margin-bottom: @baseline;
}
.post-header,
.page-header,
article.story {
border-bottom: 1px solid @grayLighter;
}
article.story {
padding-bottom: @baseline / 2;
}
// --------------------------------------------
// INDEX.PHP
// --------------------------------------------
.stories article {
border-bottom: 1px dotted @grayLight;
margin-bottom: @baseline;
}
.stories article[class*="span"] {
margin-left: 0;
}
.stories h2.entry-title {
font-size: @baseFontSize * 2;
margin-bottom: @baseline/3;
line-height: 1.1;
}
.stories .entry-content p {
font-size: @baseFontSize;
margin-bottom: @baseline / 2;
}
.stories h5.tag-list {
font-size: @baseFontSize * 0.815;
font-family: @sansFontFamily;
font-weight:normal;
line-height: 1.5;
margin-bottom: 0;
}
// --------------------------------------------
// Page/Component Specific Styles
// --------------------------------------------
@import "archives.less";
@import "search.less";
@import "sticky.less";
@import "single.less";
@import "homepage.less";
// --------------------------------------------
// Post Page Content Modules
// --------------------------------------------
.module {
margin-bottom: @baseline/2;
color: @black;
h3 {
font-size: @baseFontSize;
margin-bottom: @baseline/2;
font-weight: bold;
}
dl {
margin: 0;
}
dt, dd {
font-size: @baseFontSize * 0.815;
margin: 0 0 @baseline/2;
}
ul {
font-size: @baseFontSize * 0.815;
}
}
.type-aside p {
font-size: 0.815em;
}
/* deprecated image type? */
.image p {
display: inline;
font-size: 10px;
}
.image img {
display: block;
}
p.wp-media-credit {
font-size: @baseFontSize * 0.815;
margin: 0;
text-align: right;
color: @gray;
display: block;
}
p.wp-caption-text {
font-size: @baseFontSize !important;
margin: 5px 0 0;
color: @gray;
font-style: italic;
line-height: 1.5;
display: block;
}
.half,
.full,
.extract {
margin: 0 0 @baseline;
}
.half {
width: 40%;
}
.full {
width: 100%;
}
.full-image {
text-align: center;
background-color: @grayLighter;
}
.pull-quote,
.type-pull-quote {
font: @serifFontFamily;
font-style: italic;
font-size: @baseFontSize * 1.5;
line-height: 1.3;
&::before,
&::after {
content: "";
display: block;
height: 1px;
width: 100%;
margin: 20px auto;
background: @grayLighter;
}
h6 {
font-size: @baseFontSize;
margin: 0;
text-transform: none;
}
p {
font-size: @baseFontSize * 1.5;
margin-bottom: @baseline/4;
}
}
.DV-container {
margin-bottom: @baseline/3;
}