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

_custom.scss « sass « static - github.com/kongdivin/hugo-theme-okayish-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 61e7fa8d4c0ec9a68914c5c650bf4072c4898f02 (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
html {
  font-weight: $font-weight-normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: $font-weight-bold;
}

p,
td,
th,
pre,
code,
samp,
kbd {
  font-weight: $font-weight-normal;
}

p {
  @extend .u-no-max-width;
}

.p-link--logo,
.title-logo {
  color: $color-dark !important;
  font-weight: $font-weight-bold;
  text-decoration: none !important;
}

.p-link--hashtag {
  color: $color-mid-dark !important;
}

.p-inline-list-icons--share-links .p-inline-list__item {
  display: inline-block;
  vertical-align: middle;
}

.p-article-pagination__link--no-title {
  &::before,
  &::after {
    top: 0.8rem !important;
  }
}

.u-sticky {
  position: sticky;
  top: 0;
}

.u-inline {
  display: inline;
}

.u-capitalized {
  text-transform: capitalize;
}

.u-unselectable {
  user-select: none;
}

.is-wrapper {
  padding-top: 0;
  padding-bottom: 0;
}

.page-banner {
  background-color: $color-light;

  &__image {
    height: 300px;
    width: 300px;
  }

  a {
    color: darken($color-link, 10%);
  }
}

.posts {
  .row:first-child .col-12:first-child .p-card {
    margin-top: 1.5rem;
  }

  .p-card h3 a {
    color: $color-dark;
  }
}

// Instagram card styling
.card {
  @extend .p-card;

  .card-header {
    @extend .p-heading--three;
  }

  .card-body {
    padding-top: 0.5rem;
  }
}

@media screen and (min-width: 772px) {
  .col--share-links {
    text-align: right;
  }
}