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

_blog.scss « pages « styles « src - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b5b7344f35e26729a60ec8b119e2ca402890ada (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
.page.blog {
  .hero {
    .img {
      display: block;
      min-height: 45vmin;
      max-height: 45vmin;
      overflow: hidden;

      &> * {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
      }
    }

    .image-info {
      margin: -1.5em 1em;
      opacity: .5;

      &.dark {
        color: #000;
        text-shadow: 0 1px hsla(0, 100%, 100%, .5);
      }
      &.light {
        color: #fff;
        text-shadow: 0 1px rgba(0, 0, 0, .5);
      }
    }

    h1 {
      color: var(--toc-text);
      padding-left: 0;
      padding-right: 0;
      small {
        display: block;
      }
    }
  }

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

  .content {
    padding-left: 0;
    padding-right: 0;
    margin: 2rem var(--container-margin);

    @include mq($until: md) {
      margin: 1rem;
    }

    img {
      max-width: 100%;
    }

    .centered-img {
      text-align: center;
      margin: var(--space-3) 0;
    }

    h1,h2,h3,h4,h5,h6 {
      color: var(--toc-text);
      font-style: normal;
      font-weight: 400;
    }

    h1, h2, h3 {
      margin-top: 1.25rem; // 10px
      margin-bottom: 0.625rem; // 10px
    }

    h4, h5, h6 {
      margin-top: 0.625rem; // 10px
      margin-bottom: 0.625rem; // 10px
    }

    p {
      text-align: justify;
      margin-bottom: 1.5rem;
      line-height: 1.7rem;
    }

    ul {
      margin-left: 1rem;

      li {
        line-height: 1.7rem;
      }
    }
  }
}