Skip to content

Commit 62e2c07

Browse files
committed
add global button styles
1 parent f569bbc commit 62e2c07

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.btn {
2+
font-weight: bold;
3+
padding: 10px 15px;
4+
border: none;
5+
font-size: 1em;
6+
margin-right: 10px;
7+
border-radius: 2px;
8+
transition: all 0.3s;
9+
cursor: pointer;
10+
outline: none;
11+
}
12+
13+
.btn-primary {
14+
background-color: darken($accentColor, 30%);
15+
color: white;
16+
17+
&:hover {
18+
background-color: $accentColor;
19+
}
20+
}

docs/.vuepress/theme/styles/index.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import 'util';
2+
@import 'buttons';
23
@import 'layout-center';
34
@import 'header';
45
@import 'sidebar';

0 commit comments

Comments
 (0)