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

_global.scss « sass « assets - github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 30448698700ecbbe4af48992d0cf7f9baf82a2cf (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
body {
  background-color: $theme-color;
}

.wrapper {
  background-color: $theme-inverse-color;
}

.container {
  width: 100%;
  padding: 0 15px;

  @media screen and (min-width: 760px) {
    width: 760px;
    margin: 0 auto;
  }
}

main {
  padding-bottom: 20px;

  p a, li a {
    border-bottom: 1px solid lighten($theme-color, 60%);

    &:hover, &:focus, &:active {
      border-bottom: 1px solid $theme-color;
    }
  }

  hr {
    margin-top: 40px;
    border: 0;
    border-top: 1px solid lighten($theme-color, 90%);
  }

  article iframe {
    padding-bottom: 20px;
  }

  p img, .videogif, .itchio, twitter-widget {
    width: 100%;
    margin-left: 0;
    margin-right: 0;

    @media screen and (min-width: 760px) {
      width: 70%;
      margin-left: 15%;
      margin-right: 15%;
      margin-top: 20px;
      margin-bottom: 20px;
    }
  }
}

.site-description {
  text-align: center;
  margin: 80px 0 120px;
  font-size: 16px;
}

.title {
  font-size: 32px;
  margin: 40px 0 2px;
}

.text-center {
  text-align: center;
}

.single {
  padding-bottom: 40px;
}

@each $type, $color in (
  "info": #d1ecf1,
  "warning": #fff3cd,
  "danger": #f8d7da,
) {
  .tip.#{$type} {
    background-color: $color;
    border: 1px solid darken($color, 10%);
    border-radius: 4px;
    padding: 15px 20px;
    color: darken($color, 60%);

    a {
      border-bottom: 1px solid darken($color, 30%);

      &:hover, &:focus, &:active {
        color: darken($color, 70%);
        border-bottom: 1px solid darken($color, 40%);
      }
    }
  }
}