-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
107 lines (89 loc) · 1.77 KB
/
styles.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
body {
font-family: Arial, sans-serif;
font-size: medium;
margin: 0;
padding: 0;
background-color: #ffffff;
}
/* for main text inside the body panel */
.maintext {
margin: 50px 100px;
text-align: justify;
}
/* to create two columns text for the body main text */
.row {
display: flex;
}
.column {
flex: 50%;
padding: 30px;
text-align: left;
}
/* this is the main panel */
header {
text-align: center;
font-size: large;
font-family: Arial, sans-serif;
color: #fff;
background-color: #363637;
padding-block: 10px;
}
/* this is the navigation bar with main tags */
nav {
background-color: #000000;
padding-block: 10px;
}
/* and the tags */
nav ul img {
height: 50px;
float: left;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
/* display: grid; for vertical alignment */
display: flex;
justify-content: space-around;
text-align: center;
}
/* and the texts in tags */
nav ul li a {
display: block;
color: #fff;
text-decoration: none;
font-size: 14px;
padding: 10px;
}
/* highlight of tag selected */
nav ul li a:hover {
background-color: #0d47a1; /* Darker blue on hover */
}
/* this is a panel of images */
.image-panel {
display: flex;
justify-content: space-between;
margin: 50px 100px;
}
.image-panel img {
width: 50%;
}
/* this is a button to host a external link */
.button {
display: inline-block;
background-color: #4a90e2ff;
color: #fff;
text-decoration: none;
padding: 10px 20px;
}
.button:hover {
background-color: #0d47a1;
}
/* this is the bottom bar */
footer {
background-color: #4a90e2;
color: #fff;
text-align: center;
font-size: 14px;
padding-block: 20px;
}