-
Notifications
You must be signed in to change notification settings - Fork 92
/
author.css
60 lines (57 loc) · 962 Bytes
/
author.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
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background: lightslategray;
}
.box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) !important;
padding: 20px;
box-sizing: border-box;
background: #fff;
border-radius: 4px !important;
box-shadow: 0 5px 15px rgba(0, 0, 0, 5);
display: flex;
}
.box:hover {
box-shadow: 0 15px 35px rgba(0, 0, 0, 5);
}
.imgBox {
width: 150px;
flex: 0 0 150px;
}
.caption {
font-family: cursive;
}
img {
max-width: 100%;
}
img:hover {
box-shadow: 0 15px 35px rgba(0, 0, 0, 5);
}
.content {
padding-left: 20px;
}
h2 {
margin: 0;
padding-left: 0;
color: #ff005c;
font-size: 32px;
}
h2:hover {
box-shadow: 0 15px 35px rgba(0, 0, 0, 5);
}
p {
margin: 0;
padding: 10px 0 0;
text-align: justify;
}
p:hover {
box-shadow: 0 15px 35px rgba(0, 0, 0, 5);
}
.button :hover {
box-shadow: 0 15px 35px rgba(0, 0, 0, 5);
}