aboutsummaryrefslogtreecommitdiff
path: root/assets/style.scss
blob: 61fed5febd219a6d50fbaf38386458c660eb9df4 (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
---
---
html {
  font-size: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

body {
  background: #fafbfc;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 50rem;
  margin: 0 auto;
  padding: 1rem
}

.box {
  padding: 2rem;
  background: #ffff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1px 1px rgba(0,0,0,.1);
}

.icon-preview-wrap {
  margin-bottom: 3rem;
  position: relative;

  &:before {
    content: '';
    padding-top: 100%;
    display: block;
  }
}

.icon-preview {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(bg.svg) no-repeat center/100%;

  svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
    opacity: .8;
  }
}


.icons-list {
  display: flex;
  margin: -1rem;

  .icon {
    display: block;
    margin: .5rem;
    width: 1.5rem;
    height: 1.5rem;
  }

  svg {
    display: block;
    width: 100%;
    height: 100%;
    stroke-width: 2;
  }
}