-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
53 lines (47 loc) · 1.22 KB
/
style.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
body {
font-family: sans-serif;
margin: 0;
display: flex; /* Enable flexbox on the body */
flex-direction: column; /* Make content stack vertically */
min-height: 100vh; /* Ensure the body takes up full viewport height */
}
header,
main {
padding: 1%;
text-align: center; /* Center header and footer content */
}
main {
display: flex; /* Enable flexbox for the main content area */
flex-direction: column; /* Stack items vertically */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
section {
display: flex; /* Use flexbox for the section layout */
flex-direction: column; /* Stack items vertically */
gap: 3%; /* Add space between flag and text */
align-items: center; /* Vertically align items */
border: 1px solid #ccc;
padding: 1.5%;
border-radius: 10px; /* Rounded corners for the section */
width: 500px; /* Limit the maximum width of the section */
}
img#countryFlag {
width: 45%;
height: auto;
border: black 1px solid;
border-radius: 10px;
margin-bottom: 2%;
}
ul {
text-align: left;
line-height: 1.5em;
}
button {
margin: 1%;
padding: 1%;
background-color: #004fa3;
color: white;
border-radius: 10px;
cursor: pointer;
}