~zethra/my-website

ref: 56030318a4e6a21604ab0c7e1997521da1eb0c00 my-website/sass/main.scss -rw-r--r-- 1.4 KiB
56030318 — zethra Added content to main page 11 months ago
                                                                                
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
@import "colors";
@import "fonts";

body {
  font-family: $font-reg;
  background-color: $bg;
  color: $fg;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: $green;
  text-decoration: none;
}

a:visited {
  color: $cyan;
}

a:hover {
  text-decoration: underline;
}

nav {
  width: 100%;
  text-align: right;
  margin: 1rem 0;

  a {
    font-size: 2rem;
    padding-right: 1rem;
  }

  a:visited {
    color: $green;
  }
}

hr {
  width: 100%;
}

.date {
  color: #c7c7c7;
  margin: 0.5rem 0;
}

.prompt {
  font-family: $font-mono;
  font-weight: 500;
  font-size: 2.5rem;
}

#index-content {
  font-size: 1.2rem;
}

#links {
  display: flex;
  flex-direction: column;
  .mastodon div {
    mask: url(mastodon.svg) no-repeat center;
    -webkit-mask: url(mastodon.svg) no-repeat center;
  }
  a.mastodon:hover {
    color: $cyan;
    div {
      background-color: $cyan;
    }
  }

  .srht div {
    mask: url(sourcehut.svg) no-repeat center;
    -webkit-mask: url(sourcehut.svg) no-repeat center;
  }
  a.srht:hover {
    color: $purple;
    div {
      background-color: $purple;
    }
  }

  a {
    font-size: 2.5rem;
    color: $fg;
    line-height: 1.5;

    div {
      margin: 0 1rem;
      height: 3rem;
      width: 3rem;
      display: inline-block;
      vertical-align: text-top;
      background-color: $fg;

      i {
        display: none;
      }
    }
  }
}