summaryrefslogtreecommitdiffstats
path: root/documentation/.vuepress/override.styl
blob: 756d0118b4e720a6d0c9cc6a45abd075220d0380 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
// showing default values
$accentColor = #0095ff
$textColor = #2c3e50
$borderColor = #eaecef
$codeBgColor = #282c34
//$codeBgColor = #4f5665
$textColorSuccess = #42b983
$textColorWarning = #e7c000
$textColorError = #c00


// Custom variables
$bgColorNav = #fff
$textColorNav = #000

$bgColor = #fafafa
$fgColor = #fff
$color = #000
$border = #0000001f

darknav = false
if darknav
    $bgColorNav = #212121
    $textColorNav = #fff
    $bgSearch = #424242
    $borderSearch = #303030
    $bordersizeSearch = 2px
    $borderNav = none

darktheme = false
if darktheme
    $bgColorNav = #212121
    $textColorNav = #fff
    $bgColor = #303030
    $fgColor = #424242
    $color = #fff
    $border = #ffffff1f
    $bgSearch = #424242
    $borderSearch = #303030
    $bordersizeSearch = 2px
    $borderNav = none

body
    background-color $bgColor
blockquote
    font-size 1rem !important
    color dimgrey !important

.theme-container
    .navbar
        background-color $bgColorNav
        border-bottom $borderNav
        padding-top 0

        .home-link
            overflow hidden
            height: 57px

            .logo
                width 341.141px
                max-width calc(100% - 30px)
                height auto
                transform translateY(-40%)
                z-index 2

            .site-name
                margin-top 11.2px
                color $textColorNav
            @media (max-width: 1140px)
                .site-name
                    display none

        .links
            background-color transparent
            color $textColorNav

            :hover
                color $textColorNav

            .router-link-active
                color $textColorNav

            .search-box input
                background-color $bgSearch
                border $bordersizeSearch solid $borderSearch
                z-index 1

            .search-box .focused
                z-index 3

    .page
        background-color $bgColor
        color $color

    .sidebar
        background-color $fgColor
        color $color
        border-right $border solid 1px

.tutorial-label
    font-weight: bold
    opacity: 1
    border-radius: 50%
    border: 2px solid red
    color: white
    width: 20px
    height: 20px
    font-size: 13px
    text-align: center
    background-color: red
    display: inline-flex
    align-items: center
    justify-content: center

.image-border
    border: 1px solid black



.text-success
    color: $textColorSuccess

.text-warning
    color: $textColorWarning

.text-error
    color: $textColorError