-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathstyle.css
84 lines (70 loc) · 1.2 KB
/
style.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
76
77
78
79
80
81
82
83
84
@import url('https://fonts.googleapis.com/css2?family=Roboto:400;700&display=swap');
html {
font-family: 'Roboto', sans-serif;
font-size: 15px;
}
body {
background-image: url('img/bg.svg');
background-size: cover;
background-repeat: no-repeat;
margin: 0;
color: #666;
}
.container {
max-width: 920px;
margin-left: auto;
margin-right: auto;
}
header {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
text-align: right;
}
h1 {
font-weight: 700;
}
main {
margin-left: 50%;
}
.form {
margin-top: 2rem;
display: flex;
align-items: baseline;
margin-bottom: 0.5rem;
}
.form label {
margin-right: 1rem;
}
.form input {
flex: 1;
border: 1px solid #666;
line-height: 2rem;
padding: 0 0.5rem;
margin-right: 1rem;
}
.form input:focus {
outline: none;
border: 1px solid black;
}
button {
outline: none;
border: none;
color: white;
background-color: blue;
padding: 0.5rem 1rem;
transition: 200ms;
}
button:hover {
box-shadow: 0 0 1rem #aaa;
}
.offences-list {
margin-top: 2rem;
}
.offence {
display: flex;
justify-content: space-between;
background-color: lightblue;
padding: 0.5rem 1rem;
margin-bottom: 0.5rem;
border-left: 5px solid orange;
}