summaryrefslogtreecommitdiff
path: root/docs/_static/css/headers.css
blob: 48b78a419573e3fd1891c0fc5aefe27ada2b85bf (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
123
124
125
126
127
128
129
130
131
132
133
134
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  display: flex;
  color: #121010;
  margin-bottom: 15px !important;
}

h2,
h3,
h4,
h5 {
  margin-top: 15px !important;
}

h1:has(a) > a,
h2:has(a) > a,
h3:has(a) > a,
h4:has(a) > a,
h5:has(a) > a {
  display: flex !important;
  position: relative;
  padding-left: 5px;
} 

@media screen and (max-width: 767px) {
  h1 {
    font-size: 28px !important;
  }
  
  h2 {
    font-size: 22px !important;
  }
  
  h3 {
    font-size: 20px !important;
  }
  
  h4 {
    font-size: 18px !important;
  } 
  
  h5 {
    font-size: 16px !important;
  } 
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 48px !important;
  }
  
  h2 {
    font-size: 34px !important;
  }
  
  h3 {
    font-size: 24px !important;
  }
  
  h4 {
    font-size: 22px !important;
  } 

  h5 {
    font-size: 20px !important;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    margin-top: 15px;
  } 

  a.headerlink {
    opacity: 1 !important;
    color: transparent;
  }

  h1:has(a):hover > a::after,
  h2:has(a):hover > a::after,
  h3:has(a):hover > a::after,
  h4:has(a):hover > a::after,
  h5:has(a):hover > a::after {
    content: none !important;
    display: none !important;
  }

  h1:has(a) > a::before,
  h2:has(a) > a::before,
  h3:has(a) > a::before,
  h4:has(a) > a::before,
  h5:has(a) > a::before {
    content: url('../images/cmnd-link-icon.svg');
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 25%;
    height: 100%;
    width: 20px;
    z-index: 2;
    background-color: transparent;
  }
}

@media screen and (min-width: 992px) {
  h1:has(a):hover > a::after,
  h2:has(a):hover > a::after,
  h3:has(a):hover > a::after,
  h4:has(a):hover > a::after,
  h5:has(a):hover > a::after {
    content: url('../images/cmnd-link-icon.svg');
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    height: 100%;
    width: 20px;
    z-index: 2;
    background-color: transparent;
  }

  a.headerlink {
    color: transparent;
  }
}