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

_single.scss « scss « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3af94d6a8cc3de2eff9240e3db8387568e4558e4 (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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
.post {
  width: 100%;
  max-width: $screen-lg;
  margin: 0 auto;
  @media (min-width: $screen-lg) {
    width: 80%;
  }
}
.post-content {
  h1{
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
  }
  h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0.825rem 0;
  }
  h3 {
    font-size: 2rem;
    font-weight: semibold;
    margin: 0.825rem 0;
  }
  h4 {
    font-size: 1.5rem;
    font-weight: semibold;
    margin: 0.825rem 0;
  }
  h5 {
    font-size: 1rem;
    margin: 0.825rem 0;
  }
  h6 {
    font-size: 0.75rem;
    margin: 0.825rem 0;
  }
  h1,h2,h3,h4,h5,h6,p,code,blockquote,a {
    line-height: 1.4;
    @media (min-width: $screen-lg) {
      line-height: 1.5;
    }
  }
  p {
    margin: 1rem 0;
    color: var(--color-text-2);
    font-size: 1rem;
    @media (min-width: $screen-sm) {
      font-size: 1.125rem;
    }
    @media (min-width: $screen-lg) {
      font-size: 1.25rem;
    }
  }
  blockquote {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-border);
    font-family: $monospace;
  }
  code {
    padding: 1px 3px;
    border-radius: 2px;
    background-color: var(--color-code-bg);
    color: var(--color-text-light);
  }
  pre code {
    color: inherit;
    background-color: inherit;
    padding: 0;
    border-radius: inherit;
  }
  .highlight pre {
    padding: 1rem;
    overflow: auto;
  }
  .highlight code {
    color: inherit;
    background-color: inherit;
    padding: 0;
    border-radius: inherit;
  }
  ul {
    list-style-type: disc;
    padding-left: 1rem;
    color: var(--color-text-2);
  }
  ol {
    list-style-type: decimal;
    padding-left: 1rem;
    color: var(--color-text-2);
  }
  a,a:any-link {
    color: var(--color-link);
    border-bottom: 1px solid var(--color-border);
  }
  a:hover, a:hover:any-link {
    border-bottom: 3px solid var(--color-border);
    background-color: var(--color-link-bg);
  }
  table {
    margin: 0.5rem 0; 
    color: var(--color-text-2);
  }
  table th {
    padding: 0.5rem;
    background: var(--color-extra);
  }
  table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    border-collapse: collapse;
  }
  table tbody tr:nth-child(even) {
    background: var(--color-table-bg);
  }
  table tbody tr:hover {
    background: var(--color-hover);
    color: var(--color-text-light);
  }
  cite {
    font-family: $monospace;
  }
  sub {
    vertical-align: sub;
  }
  sup {
    vertical-align: super;
  }
  kbd {
    background: var(--color-code-bg);
    padding: 1px 3px;
    border-radius: 2px;
    color: var(--color-text-light);
  }
  mark {
    background-color: var(--color-extra);
    padding: 1px 3px;
    border-radius: 2px;
    border: 1px solid var(--color-border);
  }
  strong {
    font-weight: bold;
  }
  div[class~="__h_instagram"] {
    margin: 1rem auto;
  }
  div[class~="__h_instagram"].card > .card-header {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 1rem;
    text-align: center;
  }
  div[class~="__h_instagram"].card > a {
    display: flex;
    align-items: center;
    justify-content: center;
    border:none;
  }
  div[class~="__h_instagram"].card > a:hover {
    border:none;
  }
  div[class~="__h_instagram"].card > .card-body {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 1rem;
    text-align: center;
  }
  div[class~="__h_instagram"].card > a > .img-fluid {
    border: 1px solid var(--color-border);
    width: 100%;
    height:auto;
    object-fit: cover;
  }
  blockquote.twitter-tweet {
    border-left: 4px solid var(--color-twitter);
  }
}