-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbasic.css
75 lines (66 loc) · 1.44 KB
/
basic.css
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
* {
box-sizing: border-box;
font-family: "Segoe UI", "Helvetica", sans-serif;
}
body {
cursor: default;
overflow-x: hidden;
display: flex; justify-content: center; align-items: center;
height: 100vh; width: 100vw;
margin: 0;
color: white;
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("background.jpg");
background-attachment: fixed;
background-size: cover;
background-position: center;
}
form.attraction, div.attraction {
display: block;
width: 500px; max-width: 100%;
max-height: 100vh;
overflow-y: scroll;
background-color: rgba(0, 0, 0, 0.7); color: white;
padding: 20px;
}
h1, h2 {
font-weight: lighter;
margin: 0;
}
input {
background-color: transparent; color: white;
border: 0; border-bottom: 1px solid white;
padding: 10px;
display: block;
margin-top: 10px;
outline: 0;
font-size: 1rem;
width: 100%;
}
button, a.button {
text-decoration: none;
display: inline-block;
background-color: white; color: black;
cursor: pointer;
padding: 5px;
margin-top: 20px;
outline: 0;
font-size: 1rem;
border: 0;
border: 1px solid white; border-radius: 5px;
transition: 0.25s;
}
button[type=submit] {
display: block;
width: 100%;
}
button:hover {
background-color: lightgrey; color: black
}
button[disabled] {
background-color: grey; color: black;
cursor: not-allowed;
border: 1px solid grey;
}
button[disabled]:hover {
background-color: grey; color: black;
}