forked from jonathanmaydm/html-css-2-lecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
70 lines (58 loc) · 857 Bytes
/
index.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
html,
body,
h1 {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
header {
background: #ccc;
padding: 20px;
}
a,
a:visited {
text-decoration: none;
color: #333;
font-weight: bold;
}
h1 {
padding-bottom: 20px;
}
em {
font-style: normal;
font-weight: bold;
}
#input {
display: flex;
}
input {
flex: 1;
}
#chat {
border: 1px solid #ccc;
margin: 20px 0;
padding: 20px;
text-align: right;
}
aside {
background: white;
border: 1px solid #333;
border-radius: 3px;
width: 50vw;
padding: 20px;
margin: 20px auto;
}
input:valid + button {
display: block;
}
input:invalid + button {
display: block;
}
article {
border: 1px solid #ccc;
}
img {
max-width: 200px;
max-height: 200px;
}