aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/landing/Section.module.css
blob: 3f2bbdc3b1ba805f1d333446b515f9ba5898128e (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
/*
 * SPDX-FileCopyrightText: 2023 Kristóf Marussy
 *
 * SPDX-License-Identifier: MIT
 */

.section {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

@media (max-width: 996px) {
  .section {
    padding-left: 0;
    padding-right: 0;
  }
}

.section__title {
  position: relative;
  display: block;
  --ifm-h2-font-size: 2rem;
  margin: 0 auto 1rem auto;
  padding-bottom: 0.25rem;
}

.section__title::after {
  content: ' ';
  position: absolute;
  height: 0.25rem;
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ifm-color-primary);
  transform: skew(-30deg, 0);
}