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

_theme.scss « scss « assets « src - github.com/twbs/blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 49189c247ff492511d199c7dea7ae55626dab2b9 (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
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
//
// Resets
//

a {
  text-decoration-color: rgba(var(--bs-primary-rgb), .25);
  text-underline-offset: .25rem;

  &:hover,
  &:focus {
    text-decoration-color: rgba(var(--bs-primary-rgb), .5);
  }
}

.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  fill: currentColor; // stylelint-disable-line value-keyword-case
}

.sidebar-nav {
  .nav-link {
    padding-inline: .75rem;
    border-radius: .5rem;

    &:not(.active):hover,
    &:not(.active):focus {
      background-color: rgba(var(--bd-violet-rgb), .05);
    }

    &.active {
      color: var(--bs-body-color);
      background-color: rgba(var(--bd-violet-rgb), .1);
    }
  }
}

.ratio {
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: #000;
  border-radius: .5rem;

  .page-videos & {
    margin-top: .5rem;
  }
}


//
// Header
//

.masthead {
  overflow: hidden;

  @media (min-width: 768px) {
    position: -webkit-sticky; // stylelint-disable-line value-no-vendor-prefix
    position: sticky;
    top: 4rem;
  }
}

.bd-booticon {
  margin-left: -.75rem;
  transform: rotate(-5deg);

  @media (max-width: 1024px) {
    width: 128px;
    height: auto;
  }
}


//
// Download buttons
//

.btn-link {
  display: inline-block;
  padding: .6rem 1.2rem;
  margin-right: .25rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--bs-primary);
  border-radius: .5rem;
  transition: all .2s linear;

  &:hover {
    color: #fff;
    text-decoration: none;
    background-color: #005580;
  }
}

.btn-link-ratchet {
  background-color: #b60c32;

  &:hover {
    background-color: #0f1953;
  }
}


//
// List page
//
.list {
  padding-left: 0;
  list-style: none;

  li {
    display: block;
    margin-bottom: .5rem;
  }
  span {
    float: right;
    color: var(--bs-gray-600);
  }
}