-
Notifications
You must be signed in to change notification settings - Fork 2k
/
homepage.less
85 lines (81 loc) · 1.57 KB
/
homepage.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
.hero {
background: url("@{imagePath}/background-tile.png");
padding: 20px 0;
min-height: 0;
> .container {
position: relative;
padding-bottom: 0;
}
.search-giant input {
border-color: darken(@mastheadBackgroundColorEnd, 5);
}
.page-heading {
font-size: 18px;
margin-bottom: 0;
}
.module-dark {
padding: 5px;
margin-bottom: 0;
color: @mastheadTextColor;
background: @layoutTrimBackgroundColor;
.module-content {
.border-radius(3px 3px 0 0);
background-color: @mastheadBackgroundColor;
.heading {
margin-top: 0;
margin-bottom: 7px;
}
}
}
.tags {
.clearfix();
padding: 5px 10px 10px 10px;
background-color: darken(@mastheadBackgroundColor, 10%);
.border-radius(0 0 3px 3px);
h3,
.tag {
display: block;
float: left;
margin: 5px 10px 0 0;
}
h3 {
font-size: @baseFontSize;
line-height: @baseLineHeight;
padding: 2px 8px;
}
}
}
.hero-primary,
.hero-secondary {
.makeColumn(6);
}
.hero-primary {
margin-left: 0; // Remove grid margin.
margin-bottom: 0;
}
.hero-secondary {
position: absolute;
bottom: 0;
right: 0;
.hero-secondary-inner {
bottom: 0;
left: 0;
right: 0;
}
}
.main.homepage {
padding-top: 20px;
padding-bottom: 20px;
border-top: 1px solid @layoutTrimBorderColor;
.module-heading .media-image {
margin-right: 15px;
max-height: 53px;
.box-shadow(0 0 0 2px rgba(255, 255, 255, 0.5));
}
.group-list {
margin-bottom: 0;
}
.box .module {
margin-top: 0;
}
}