Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_base.scss « _core « css « assets - github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d1a264aacdaee3cc850f8df1e50182a724cdebd (plain)
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
html {
  font-family: $global-font-family;

  /* scrollbar, only support webkit */
  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  &::-webkit-scrollbar-thumb {
    height: 40px;
    background-color: #87878D;
    border-radius: 16px;

    &:hover {
      background-color: #A9A9B3;
    }
  }
}

::selection {
  background: rgba(0, 149, 255, 0.1);
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  background-color: $global-background-color;
  color: $global-font-color;

  &:before {
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
  }

  &.dark-theme {
    color: $global-font-color-dark;
    background-color: $global-background-color-dark;
  }
}

a {
  color: $global-link-color;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;

  &:hover {
    color: $global-link-hover-color;
  }

  .dark-theme & {
    color: $global-link-color-dark;

    &:hover {
      color: $global-link-hover-color-dark;
    }
  }
}