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

_faq.scss « pages « styles « src - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fdc17b264639726cedaab8aa424ec41b31593dfc (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
/* FAQ */
.page.faq, .page.frfaq {


  @include mq($until: md) {
    .hero .description {
      padding: 0;
    }
  }

  .hero .description {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  main h1, #TableOfContents, main .content {
    max-width: var(--theJdrSize);
    margin: 0 auto;
  }

  main .content {
    margin-top: 1rem;
  }

  .content {

    h1, h2, h3, h4, h5, h6 {
      color: var(--toc-text);
    }

    h3, h4, h5, h6, & > ul, & > ol, & > p {
      margin-left: calc(var(--container-margin) - 2rem);
    }

    li {
      line-height: 1.5;
    }

    ul {
      @include mq($until: md) {
        padding-left: 2ch;
      }
    }

    mark {
      font-weight: bold;
      border-radius: .25em;
      padding: .125em;

      &.a {
        color: var(--fg-mark-a);
        background-color: var(--bg-mark-a);
      }
      &.b {
        color: var(--fg-mark-b);
        background-color: var(--bg-mark-b);
      }
      &.t2 {
        color: var(--fg-mark-t2);
        background-color: var(--bg-mark-t2);
      }

    }
  }
}


@include mq($until: xl) {
  .page.faq, .page.fr-faq {
    .content {
      padding: 0 .5em;
    }
  }
}