Skip to content

Commit 71493d2

Browse files
committed
Splitted less files
1 parent e15dbd4 commit 71493d2

File tree

2 files changed

+52
-50
lines changed

2 files changed

+52
-50
lines changed

src/css/custom.less

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
@import "node_modules/bootstrap/less/bootstrap.less";
2+
3+
.banner {
4+
5+
/* dimensions */
6+
min-height: 70px;
7+
margin-top: 20px;
8+
border-top-left-radius: 20px;
9+
border-top-right-radius: 20px;
10+
11+
/* background */
12+
background-color: @navbar-default-bg;
13+
border-color: @navbar-default-border;
14+
15+
/* content */
16+
padding: 0.8em 0 0.4em 0.8em;
17+
font-size: 20pt;
18+
text-align: center;
19+
color: @navbar-default-color;
20+
21+
}
22+
23+
.latest-news {
24+
25+
/* News header */
26+
h2 {
27+
margin: 0.8em 0;
28+
}
29+
30+
/* date */
31+
h4 {
32+
font-size: 14px;
33+
margin: 0;
34+
color: grey;
35+
}
36+
37+
/* title */
38+
h3 {
39+
font-size: 20px;
40+
margin: 0.2em 0 0.4em 0;
41+
}
42+
43+
.excerpts {
44+
/* nothing yet */
45+
}
46+
47+
.footer {
48+
text-align: right;
49+
}
50+
51+
}

src/css/style.less

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,2 @@
11
@import "node_modules/bootstrap/less/bootstrap.less";
2-
3-
.banner {
4-
5-
/* dimensions */
6-
min-height: 70px;
7-
margin-top: 20px;
8-
border-top-left-radius: 20px;
9-
border-top-right-radius: 20px;
10-
11-
/* background */
12-
background-color: @navbar-default-bg;
13-
border-color: @navbar-default-border;
14-
15-
/* content */
16-
padding: 0.8em 0 0.4em 0.8em;
17-
font-size: 20pt;
18-
text-align: center;
19-
color: @navbar-default-color;
20-
21-
}
22-
23-
.latest-news {
24-
25-
/* News header */
26-
h2 {
27-
margin: 0.8em 0;
28-
}
29-
30-
/* date */
31-
h4 {
32-
font-size: 14px;
33-
margin: 0;
34-
color: grey;
35-
}
36-
37-
/* title */
38-
h3 {
39-
font-size: 20px;
40-
margin: 0.2em 0 0.4em 0;
41-
}
42-
43-
.excerpts {
44-
/* nothing yet */
45-
}
46-
47-
.footer {
48-
text-align: right;
49-
}
50-
51-
}
2+
@import "src/css/custom.less";

0 commit comments

Comments
 (0)