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

_index.scss « pages « scss « static - github.com/iCyris/hugo-theme-yuki.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 131b3216c54586407b8f1fa7c0a622f95ee7f083 (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
/*
 * Index page
 */
.index-displayImg {
  @media screen and (max-width: 800px){ height: 25vh ;}
  position: relative;
  width: 100vw; height: 85vh;
  margin: 0 auto;
  background-position: center;
  background-size: cover;
}
.index-line {
  @media screen and (max-width: 800px){ width: 90vw ;}
  position: relative;
  margin: 0 auto;
  margin-top: 8vmin;
  text-align: center;
  width: 50vw; height: 5vh;
  border-top: $theme-color-gray-light 1px solid;
  line-height: 5vh;
  span {
    display: inline-block;
    color: $theme-color-black;
    border-top: $theme-color-gold 3px solid;
    margin-top: -1px;
    opacity: .9;
    font-size: 1rem;
  }
}
.index-sns {
  position: relative;
  margin: 0 auto;
  margin-top: 3vmin;
  text-align: center;
  display: flex;
  flex-direction: column;
  a {
    @media screen and (max-width: 800px){
      width: 55%;
      padding: 1.7vh 3vw;
      margin: 3vmin auto;
      font-size: .7rem;
    }
    margin: 2vmin auto;
    padding: 1.3vh 0.2vw;
    width: 18%;
    color: $theme-color-gray-heavy;
    font-size: .8rem;
    letter-spacing: 1px;
    border: $theme-color-gray-heavy 1px solid;
    transition: all .2s ease;
    &:hover {
      color: $theme-color-white;
      background-color: $theme-color-gold-light;
    }
  }
}
.index-posts {
  position: relative;
  display: block;
  margin: 0 auto;
  margin-top: 4vmin;
  width: 50vw;
  @media screen and (max-width: 800px){ width: 90vw ;}
  .index-posts__list {
    display: flex;
    width: 100%;
    text-align: left;
    margin: 4vh 0;
    font-size: .8rem;
    @media screen and (max-width: 800px){ flex-direction: column ; margin: 2.8vh 0;}
  }
  a {
    transition: all .3s ease;
    letter-spacing: 0.5px;
    &:hover { opacity: .6 ;}
  }
  .l-time {
    width: 8rem; height: auto;
    a {color: rgba(17,17,17,.5) ;}
  }
  .l-title {
    width: calc(100% - 8rem);
    a { color: $theme-color-black ;}
    @media screen and (max-width: 800px){ width: 100% ;}
  }
  .l-time, .l-title { @media screen and (max-width: 800px){ width: 100%; margin: 1vh 0;} }
}