mirror of https://github.com/lxndrblz/anatole.git

alexanderdavide
12.01.2022 eac53f66f73ced5c1320fc0862102ae88c925007
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
.post {
  background-color: $accent;
  margin: 30px;
 
  &__more {
    font-size: 1.4rem;
  }
 
  &__thumbnail {
    width: 100%;
    height: $thumbnail-height;
    object-fit: cover;
    display: block;
 
    &-wrapper {
      border-radius: 0.5em;
      width: 100%;
      margin-bottom: 1em;
      box-shadow: $shadow;
      overflow: hidden;
      transition: box-shadow 0.3s ease;
    }
  }
 
  &__content {
    h1 {
      text-transform: uppercase;
      font-size: 3em;
      letter-spacing: 1px;
      line-height: 1;
    }
 
    h2 {
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 2.6rem;
      line-height: 1;
      font-weight: 600;
    }
 
    h3 {
      text-transform: uppercase;
      letter-spacing: 1px;
      line-height: 1;
      font-weight: 600;
      font-size: 2.2rem;
    }
 
    ul,
    ol {
      line-height: 1.9em;
      font-weight: 400;
      font-size: 1.4rem;
    }
 
    img {
      display: block;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
    }
 
    figure {
      max-width: 100%;
      height: auto;
      margin: 0;
      text-align: center;
 
      &.big {
        max-width: 100vw;
      }
 
      &.right {
        @include desktop {
          float: right;
          margin-left: 1.5em;
          max-width: 50%;
        }
      }
 
      &.left {
        @include desktop {
          float: left;
          margin-right: 1.5em;
          max-width: 50%;
        }
      }
    }
  }
 
  &__footer {
    border-bottom: $border;
    font-size: 1.2rem;
    padding: 12px 0;
 
    &-date {
      margin-right: 10px;
      margin-left: 5px;
    }
  }
}