-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (71 loc) · 1.13 KB
/
style.css
File metadata and controls
96 lines (71 loc) · 1.13 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
84
85
86
87
88
89
90
91
92
93
94
95
96
* {
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
margin: 0;
padding: 0;
background-image: url(img/fooon.jpg);
background-size: cover;
color: #fff;
}
header {
background-color: #333;
padding: 20px;
}
h1 {
margin-top: 0;
margin-bottom: 10px;
font-size: 24px;
text-align: center;
}
p {
font-size: 16px;
line-height: 1.5;
text-align: left;
}
.par {
font-size: 16px;
line-height: 1.5;
text-align: center;
}
main {
padding: 20px;
}
section {
margin-bottom: 20px;
display: flex;
justify-content: space-between;
}
.image-container {
width: 20%;
transition:0.5s;
}
img {
width: 100%;
height: auto;
}
.text-container {
width: 60%;
text-align: left;
}
h2 {
margin-top: 0;
margin-bottom: 10px;
font-size: 20px;
}
footer {
background-color: #333;
padding: 20px;
}
.block {
animation: fade-in 1s ease-in-out;
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}