-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
78 lines (65 loc) · 1.03 KB
/
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
71
72
73
74
75
76
77
78
* {
margin: 0;
font-family: "Fira Sans", sans-serif;
}
body {
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
margin: 50px;
font-size: 3em;
}
main {
max-width: 1506px;
display: flex;
flex-wrap: wrap;
}
div {
max-width: 400px;
margin: 50px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
}
div:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
h2 {
width: calc(100% - 15px);
padding: 15px 0px 15px 15px;
background-color: skyblue;
}
img {
max-width: 100%;
margin-bottom: 15px;
}
p {
padding: 10px;
}
.menubar {
box-shadow: none;
max-width: 1400px;
align-self: auto;
}
.menubar:hover {
box-shadow: none;
}
button {
margin: 0 5px;
background-color: white;
border: 1px solid #87ceeb;
padding: 15px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
cursor: pointer;
}
button:hover {
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
}
.alert {
border-left: 10px solid red;
width: 100%;
background-color: tomato;
color: white;
}