aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/index.css
blob: 3279aac4ad9c282f3dfc885d5c898f71171b4733 (plain) (blame)
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
body {
  margin: 0;
  padding: 0;
  background-color: #faf9f5;
  font-family: 'Lora', serif;
}

h1 {
  font-size: 50px;
  margin: 0 0;
}

form {
  width: 100%;
}

textarea, input[type=text], input[type=password], .Dropdown-root {
  width: 100%;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8em;
  padding: calc(0.8em - 1px);
  border-radius: 3px;
  border: 1px solid #565656;
  outline: none;
  margin: 1.7em 0;
}

.Dropdown-root {
  cursor: pointer;
}

.Dropdown-root:hover, .Dropdown-root.is-open {
   opacity: 1;
}

.Dropdown-root + label {
  top: 0.5em;
  opacity: 0;
}

.Dropdown-root.is-open + label, .Dropdown-root:hover + label {
  opacity: 1;
  top: -0.1em;
}

.Dropdown-placeholder {
  width: 5em;
}

.Dropdown-menu {
  border-top: 1px solid #111111;
  margin-top: 0.5em;
  bottom: auto;
}

.Dropdown-option {
  margin-top: 0.5em;
  transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.Dropdown-option:hover {
  font-weight: 700;
  opacity: 0.4;
}

textarea, input[type=text], input[type=password], .Dropdown-root {
  opacity: 0.5;
  transition: opacity 0.5s cubic-bezier(.25,.8,.25,1);
}

textarea:focus, input[type=text]:focus, input[type=password]:focus {
  opacity: 1;
}

input[type=password] {
  font-weight: 700;
}

textarea {
  height: 45vh;
  resize: vertical;
  min-height: 2em;
}

a {
  color: #111111;
}

input[type=submit] {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: #faf9f5;
  background-color: #111111;
  padding: 0.8em 2em;
  margin: 2em 0;
  outline: 0;
}

ul {
  list-style-type: none;
  display: inline-block;
}

li {
  display: inline-block;
  margin: 0 1em;
}

.mainLogo {
  display: inline-block;
}

.mainLogo a {
  text-decoration: none;
  position: relative;
  margin: 3px;
}

.mainLogo a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #111111;
    width: 0;
    transition: width 0.25s ease;
}

.mainLogo:hover a::after {
  width: 100%;
}