mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-16 23:20:14 +00:00
style
This commit is contained in:
parent
c9f4aae633
commit
d872002ee9
14 changed files with 108 additions and 32 deletions
22
docs/.vuepress/theme/styles/_anchors.scss
Normal file
22
docs/.vuepress/theme/styles/_anchors.scss
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
h1 {
|
||||
a.header-anchor {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
h2, h3, h4, h5, h6 {
|
||||
a.header-anchor {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a.header-anchor {
|
||||
display: inline-block;
|
||||
color: $color-gray;
|
||||
|
||||
&:hover {
|
||||
color: $color-dragon;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
3
docs/.vuepress/theme/styles/_colors.scss
Normal file
3
docs/.vuepress/theme/styles/_colors.scss
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$color-hero: #563f5a;
|
||||
$color-dragon: #9b1c47;
|
||||
$color-gray: #555;
|
||||
10
docs/.vuepress/theme/styles/main.scss
Normal file
10
docs/.vuepress/theme/styles/main.scss
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
@import "colors";
|
||||
@import "anchors";
|
||||
|
||||
.srd {
|
||||
.content {
|
||||
a {
|
||||
color: #9b1c47;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
$wrapper
|
||||
max-width $contentWidth
|
||||
margin 0 auto
|
||||
padding 2rem 2.5rem
|
||||
@media (max-width: $MQNarrow)
|
||||
padding 2rem
|
||||
@media (max-width: $MQMobileNarrow)
|
||||
padding 1.5rem
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue