Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit f349938

Browse files
committed
fix margin and border
1 parent 7c9ee92 commit f349938

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

css/main.less

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
@import url(//fonts.googleapis.com/css?family=Roboto:100,300,400);
22
@import "variables";
33

4-
5-
64
header {
75
text-align: center;
86

@@ -96,7 +94,25 @@ ul {
9694
-webkit-transition: all 0.2s;
9795
border-bottom: 0;
9896
line-height: 1.5rem;
99-
padding: 1em,
97+
padding: 1em;
98+
}
99+
100+
.collapsible-body {
101+
border-top: 0;
102+
border-bottom: 0px;
103+
104+
.collapsible {
105+
box-shadow: 0 0;
106+
border: 0;
107+
108+
&-header {
109+
border-top: 1px solid #ddd;
110+
}
111+
112+
&-body {
113+
border-top: 1px solid #ddd;
114+
}
115+
}
100116
}
101117

102118
.countdown {
@@ -126,24 +142,11 @@ ul {
126142

127143
.collapsible.popout>li {
128144
background-color: @color-white;
145+
margin: 0 16px;
129146
}
130147

131148
.collapsible.popout>li.active {
132-
margin: 16px;
133-
}
134-
135-
.collapsible-body {
136-
border-bottom: 0;
137-
138-
.collapsible {
139-
box-shadow: 0 0;
140-
border-right: 0;
141-
border-left: 0;
142-
}
143-
144-
.collapsible-header {
145-
border-bottom: 1px solid #ddd;
146-
}
149+
margin: 0 8px;
147150
}
148151

149152
.card-container {

css/variables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Width variables
2-
@card-width: 624px;
2+
@card-width: 560px;
33
@large-phone: 560px;
44

55
// Colour variables

0 commit comments

Comments
 (0)