zaphyra's git: domsonic

subsonic web-client

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 @use './reset';
@use './variables';
@use './utils';
@use './loader';
@use './scroll';
@use './input';
@use './dropdown';
@use './navbar';
@use './search';
@use './header';
@use './table';
@use './modal';
@use './tiles';
@use './login';
@use './discover';

:root {
  overscroll-behavior: none;
}

body {
  color: var(--color);
  background-color: var(--background);
}

#app {
  display: flex;
  flex-direction: row;
  min-height: 100vh !important;
}

main {
  flex-grow: 1;
  max-width: 100vw;
  padding: .5rem 1rem;
  padding-bottom: calc(var(--player-height) + .5rem);
}

.logo {
  user-select: none;
  display: flex;
  justify-content: center;
  padding: 1rem 1rem .75rem;
}

a {
  text-decoration: none;
  color: var(--color);

  &:hover {
    color: var(--secondary-color);
    text-decoration: underline;
  }
}

@media (max-width: 850px) {
  main {
    padding-bottom: calc(var(--navbar-height) + var(--player-height) + .5rem);
  }
}

@media (min-width: 850px) {
  .sidebar+main {
    max-width: calc(100vw - var(--sidebar-width));
  }
}