summaryrefslogtreecommitdiff
path: root/src/styles/terminal.css
blob: 1d97d168d31be4165cf31706e4f5aeaa8cf70a37 (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
@import url("@styles/fonts/JetBrainsMono.css");

:root {
  --primary: #54d7a9;
  --secondary: #9b7eca;
  --accent: #7ed4fb;
  --extra: #8fcc75;
  --text: #ffffff;
  --alt: #999999;
  --background: #000000;
}

* {
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--background);
  color: var(--text);
  font-family: "Jetbrains Mono", monospace;
  user-select: none;
}

body {
  overflow-y: scroll;
  zoom: 1;
}
@media screen and (max-width: 768px) {
  body {
    zoom: 0.8;
  }
}
@media screen and (max-width: 480px) {
  body {
    zoom: 0.7;
  }
}

main {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  grid-template-columns: minmax(200px, 1fr);
  transform: translate(-50%, -50%);
  border: 1px;
  border-style: solid;
  background: var(--background);
  padding: 1.75rem;
  width: 55rem;
  height: 77%;
  max-width: 75%;
  max-height: 80%;
  overflow: hidden;
}

h1,
h2,
h3 {
  font-size: 1rem;
  font-weight: bold;
}

a {
  font-weight: 300;
}
a:link,
a:visited,
a:active {
  background-color: transparent;
  text-decoration: none;
  color: var(--secondary);
}
a:hover {
  transition-duration: 0.2s;
  transition-property: color, text-decoration;
  text-decoration: underline;
  color: var(--accent);
}