File size: 1,919 Bytes
6b6ca97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: 'PP Editorial';
  src: url('/fonts/pp-ed-ul.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@layer base {
  .overflow-hidden-scrollable {
    -ms-overflow-style: none;
  }

  .overflow-hidden-scrollable::-webkit-scrollbar {
    display: none;
  }

  * {
    scrollbar-width: thin;
    scrollbar-color: #e8edf1 transparent; /* light-200 */
  }

  *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  *::-webkit-scrollbar-track {
    background: transparent;
  }

  *::-webkit-scrollbar-thumb {
    background: #e8edf1; /* light-200 */
    border-radius: 3px;
    transition: background 0.2s ease;
  }

  *::-webkit-scrollbar-thumb:hover {
    background: #d0d7de; /* light-300 */
  }

  @media (prefers-color-scheme: dark) {
    * {
      scrollbar-color: #21262d transparent; /* dark-200 */
    }

    *::-webkit-scrollbar-thumb {
      background: #21262d; /* dark-200 */
    }

    *::-webkit-scrollbar-thumb:hover {
      background: #30363d; /* dark-300 */
    }
  }

  :root.dark *,
  html.dark *,
  body.dark * {
    scrollbar-color: #21262d transparent; /* dark-200 */
  }

  :root.dark *::-webkit-scrollbar-thumb,
  html.dark *::-webkit-scrollbar-thumb,
  body.dark *::-webkit-scrollbar-thumb {
    background: #21262d; /* dark-200 */
  }

  :root.dark *::-webkit-scrollbar-thumb:hover,
  html.dark *::-webkit-scrollbar-thumb:hover,
  body.dark *::-webkit-scrollbar-thumb:hover {
    background: #30363d; /* dark-300 */
  }

  html {
    scroll-behavior: smooth;
  }
}

@layer utilities {
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select,
  textarea,
  input {
    font-size: 16px !important;
  }
}