-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.css
More file actions
83 lines (71 loc) · 1.34 KB
/
single.css
File metadata and controls
83 lines (71 loc) · 1.34 KB
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
main {
text-align: center;
box-sizing: border-box;
}
section#main {
display: inline-block;
text-align: center;
}
article {
display: inline-block;
max-width: 1000px;
}
@media screen and (min-width: 1100px) {
article {
width: 1000px;
}
}
article header {
height: 50px;
font-size: 40px;
border-radius: 8px;
text-align: center;
/*max-width: 1000px;*/
margin: 0;
}
article div#photo {
/*max-width: 1000px;*/
padding: 10px;
position: relative;
transition: transform 0.3s ease, z-index 0s;
}
article img {
width: 250px;
min-height: 150px;
border-radius: 8px !important;
}
/* /i may add this later/
article img:hover {
z-index: 10;
transform: scale(1.5);
margin: 70px;
border-radius: 8px;
}
*/
article p {
/*max-width: 1000px;*/
text-align: justify;
padding-left: 10px;
padding-right: 10px;
margin-top: 0;
margin-bottom: 0;
font-size: 18px;
line-height: 1.8;
}
article footer {
/*max-width: 1000px;*/
background-color: #fff;
color: #121212;
border-radius: 8px;
text-align: left;
align-items: normal;
padding-left: 20px;
height: 35px;
box-sizing: border-box;
margin-top: 5px;
}
@media screen and (max-width: 440px) {
article footer {
min-height: 70px;
}
}