forked from JamBrain/JamBrain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.less
More file actions
109 lines (87 loc) · 1.43 KB
/
post.less
File metadata and controls
109 lines (87 loc) · 1.43 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
@import "defs.less";
@POST_BG: @COL_L;
@POST_DARK: @COL_NDDD;
@POST_BUTTON_LIT: @COL_A;
#content .content-post {
position: relative;
& > .-header {
/*margin: 1em;*/
padding: 1em;
padding-bottom: 0;
@spacing: 1.5em;
& > .-title {
font-size: 2.2em;
/*font-variant: small-caps;*/
/*letter-spacing: 0.05em;*/
position: relative;
left: -0.1em;
margin-right:64px;
}
& > .-subtext {
font-size: 0.8em;
margin:0.2em 0;
margin-right:64px;
}
& > .-avatar {
margin: -0.5em;
float:right;
cursor: pointer;
position: relative;
&:hover {
background: @POST_BUTTON_LIT;
& > .-info {
display: block;
color: @MAJOR_LIGHT;
}
}
& > img {
display:block;
padding: 0.5em;
}
& > .-info {
position: absolute;
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
font-size: 2em;
display: none;
}
}
& .-author {
font-weight:bold;
}
}
& > .-body {
margin: 1em;
font-size: 1.1em;
line-height: 1.5em;
}
&.-has-headline {
border-top: 0 solid;
& .-headline {
position: relative;
background: @POST_DARK;
color: @POST_BG;
height: 1em;
font-size: 2em;
font-weight: bold;
font-style: italic;
overflow: hidden;
padding-left: 0.5em;
&.-news {
background: @COL_C;
}
&.-event {
background: @COL_AB;
}
}
}
}
.at-name {
& > img {
height: 0.8em;
padding-right: 0.1em;
}
}