-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog3.css
114 lines (97 loc) · 2.01 KB
/
blog3.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
body {
padding: 0;
margin: 0;
box-sizing: border-box;
background: #eecda3; /* fallback for old browsers */
background: -webkit-linear-gradient(
to right,
#ef629f,
#eecda3
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#ef629f,
#eecda3
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
overflow-x: hidden;
}
nav.navbar {
border-bottom: 4px solid rgb(155, 155, 255);
}
nav.navbar a.navbar-brand {
font-weight: 700;
font-family: "Times New Roman", Times, serif;
}
h1 {
margin-top: 80px;
font-size: 2.6em;
font-weight: 800;
font-family: "Times New Roman", Times, serifs;
animation: 1s ease-out 0s 1 slideInFromLeft;
}
h3 {
margin: 10px 140px;
font-size: 1.5em;
font-weight: 500;
text-align: center;
text-transform: capitalize;
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
color: rgb(102, 102, 102);
animation: 1s ease-out 0s 1 slideInFromRight;
}
h5 {
font-weight: 400;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
text-transform: uppercase;
animation: 1s ease-out 0s 1 slideInFromLeft;
}
div.container {
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
div.container img#one {
animation: 1s ease-out 0s 1 slideInFromBottom;
}
div.container img {
width: 60%;
height: 50%;
margin: 10px 0;
}
div.container p {
margin: 10px 100px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 1.2em;
text-transform: capitalize;
}
@media (min-width: 320px) and (max-width: 420px) {
h1 {
margin-top: 120px;
}
}
@keyframes slideInFromLeft {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(0);
}
}
@keyframes slideInFromRight {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(0);
}
}
@keyframes slideInFromBottom {
0% {
transform: translateY(100%);
}
100% {
transform: translateY(0);
}
}