forked from fikrcamp/HTML-Blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
137 lines (99 loc) · 1.79 KB
/
style.css
File metadata and controls
137 lines (99 loc) · 1.79 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: sans-serif;
}
main {
width: 100%;
height: 100vh;
}
main img {
width: 100%;
height: 500px;
}
main header h1 {
font-size: 3rem;
font-family: 'Playball', cursive;
font-weight: 900;
text-align: center;
padding: 20px;
border-top: 35px solid #084C8C;
color: #084C8C;
}
main h2 {
font-family: 'Italianno', cursive;
font-size: 3rem;
font-weight: 600;
text-align: center;
padding: 10px;
color: #084C8C;
border-bottom: 1px solid #084C8C;
}
.container img {
width: 300px;
height: 250px;
}
main .container {
width: 80%;
height: auto;
margin: auto;
}
main .container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding-bottom: 20px;
gap: 5px;
}
main .container .d {
flex: 1;
padding: 10px;
margin: 10px;
border: 1px solid pink;
}
main .container .d h3 {
text-align: center;
padding: 5px;
color: #084C8C;
}
main .container .d p {
text-align: start;
text-align: justify;
padding: 5px;
}
main .container .d a {
background-color: palevioletred;
text-decoration: none;
color: white;
padding: 5px;
display: block;
text-align: center;
border-radius: 5px;
}
footer {
background-color: #084C8C;
color: white;
width: 100%;
height: auto;
padding: 5px;
margin: auto;
}
footer h4 {
text-align: center;
padding: 5px 0px 0px 0px;
font-weight: 400;
}
footer p {
font-weight: 400;
text-align: center;
}
@media screen and (max-width:1000px) {
main .container {
flex-direction: column;
}
main .container .d h3 {
text-align: start;
}
}