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

Alexander Bilz
14.42.2022 b9edf61069c25278b90794c0d55fc3f2ab1af004
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.post {
  @include themed() {
    background-color: t('accent');
  }
  margin: 30px;
 
  &__more {
    font-size: 1.4rem;
  }
 
  &__thumbnail {
    width: 100%;
    height: $thumbnail-height;
    object-fit: cover;
    display: block;
 
    &-wrapper {
      @include themed() {
        box-shadow: t('shadow');
      }
      border-radius: 0.5em;
      width: 100%;
      margin-bottom: 1em;
      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 {
          max-width: 50%;
          @include ltr {
            float: right;
            margin-left: 1.5em;
          }
 
          @include rtl {
            float: left;
            margin-right: 1.5em;
          }
        }
      }
 
      &.left {
        @include desktop {
          max-width: 50%;
          @include ltr {
            float: left;
            margin-right: 1.5em;
          }
 
          @include rtl {
            float: right;
            margin-left: 1.5em;
          }
        }
      }
    }
  }
 
  &__footer {
    @include themed() {
      border-bottom: t('border');
    }
    font-size: 1.2rem;
    padding: 12px 0;
 
    &-date {
      @include ltr {
        margin-right: 10px;
        margin-left: 5px;
      }
      @include rtl {
        margin-left: 10px;
        margin-right: 5px;
      }
    }
  }
}