aboutsummaryrefslogtreecommitdiffstats
path: root/styles/main/_icon.scss
blob: efa2ee0898166f197e3ef4816432abb66ecba879 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.icon {
  text-decoration: none;
  display: inline-block;
  padding: 1em;
  text-align: center;
  outline: none;

  img {
    width: 3em;
  }

  p {
    margin-top: .25em;
    padding: .25em;
    transition: .2s background;
    border-radius: .5em;
  }

  &:focus p {
    background-color: var(--color-selected);
  }
}