Skip to content

Commit 262bf13

Browse files
committed
order css source alphabetically
1 parent 0b1fc23 commit 262bf13

File tree

5 files changed

+139
-140
lines changed

5 files changed

+139
-140
lines changed

Diff for: src/themes/basic/_coverpage.css

+18-18
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ section.cover {
1111
}
1212

1313
&.has-mask .mask {
14-
position: absolute;
15-
size: 100%;
1614
background-color: $color-bg;
1715
opacity: .8;
16+
position: absolute;
17+
size: 100%;
1818
}
1919

2020
.cover-main {
2121
flex: 1;
22-
text-align: center;
2322
margin: -20px 16px 0;
23+
text-align: center;
2424
z-index: 1;
2525
}
2626

@@ -34,65 +34,65 @@ section.cover {
3434
}
3535

3636
p {
37-
margin: 1em 0;
3837
line-height: 1.5rem;
38+
margin: 1em 0;
3939
}
4040

4141
h1 {
42-
text-align: center;
42+
color: inherit;
4343
font-size: 2.5rem;
44-
position: relative;
45-
margin: .625rem 0 2.5rem;
4644
font-weight: 300;
47-
color: inherit;
45+
margin: .625rem 0 2.5rem;
46+
position: relative;
47+
text-align: center;
4848

4949
a {
5050
display: block;
5151
}
5252

5353
small {
54-
position: absolute;
5554
bottom: -.4375rem;
5655
font-size: 1rem;
56+
position: absolute;
5757
}
5858
}
5959

6060
blockquote {
61-
text-align: center;
6261
font-size: 1.5rem;
62+
text-align: center;
6363
}
6464

6565
ul {
66-
max-width: 500px;
66+
line-height: 1.8;
6767
list-style-type: none;
6868
margin: 1em auto;
69+
max-width: 500px;
6970
padding: 0;
70-
line-height: 1.8;
7171
}
7272

7373
.cover-main > p:last-child a {
74+
border-color: var(--theme-color, $color-primary);
7475
border-radius: 2em;
75-
border-width: 1px;
7676
border-style: solid;
77-
border-color: var(--theme-color, $color-primary);
77+
border-width: 1px;
7878
box-sizing: border-box;
7979
color: var(--theme-color, $color-primary);
80+
display: inline-block;
8081
font-size: 1.05em;
8182
letter-spacing: 0.1em;
83+
margin-right: 1em;
8284
padding: 0.75em 2em;
8385
text-decoration: none;
8486
transition: all 0.15s ease;
85-
margin-right: 1em;
86-
display: inline-block;
8787

8888
&:last-child {
89-
margin-right: 0;
9089
background-color: var(--theme-color, $color-primary);
9190
color: #fff;
91+
margin-right: 0;
9292

9393
&:hover {
94-
opacity: .8;
9594
color: inherit;
95+
opacity: .8;
9696
}
9797
}
9898

0 commit comments

Comments
 (0)