2020-03-21 23:04:01 +08:00
|
|
|
@require 'variables.styl'
|
2020-04-01 12:09:06 +08:00
|
|
|
@require 'animated.styl'
|
2020-03-21 23:04:01 +08:00
|
|
|
|
|
|
|
html, body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--normal-text-color);
|
|
|
|
background: var(--background-color);
|
2020-03-21 23:04:01 +08:00
|
|
|
font-size: $default-font-size;
|
|
|
|
font-family: $default-font-family;
|
|
|
|
font-weight: $default-font-weight;
|
2020-04-01 22:42:24 +08:00
|
|
|
line-height: $default-font-line-height;
|
2020-04-02 20:37:34 +08:00
|
|
|
transition: all 0.5s ease;
|
2020-03-21 23:04:01 +08:00
|
|
|
}
|
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
::selection {
|
|
|
|
background: var(--selection-color);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2020-04-03 18:18:42 +08:00
|
|
|
ul,
|
|
|
|
li,
|
|
|
|
ol {
|
2020-03-21 23:04:01 +08:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2020-04-02 20:37:34 +08:00
|
|
|
color: var(--normal-text-color);
|
2020-03-21 23:04:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover, a:active {
|
2020-04-03 18:18:42 +08:00
|
|
|
color: var(--primary-color);
|
2020-03-21 23:04:01 +08:00
|
|
|
}
|
|
|
|
|
2020-04-07 11:57:53 +08:00
|
|
|
button {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: none;
|
|
|
|
cursor: pointer;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2020-03-21 23:04:01 +08:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2020-04-03 18:18:42 +08:00
|
|
|
color: var(--third-text-color);
|
|
|
|
border: 1px solid var(--third-text-color);
|
2020-03-21 23:04:01 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
border-radius: 10em;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
|
|
|
|
&:hover {
|
2020-04-03 18:18:42 +08:00
|
|
|
color: var(--primary-color);
|
|
|
|
border: 1px solid var(--primary-color);
|
2020-03-21 23:04:01 +08:00
|
|
|
}
|
|
|
|
}
|