-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
145 lines (125 loc) · 2.65 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
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
138
139
140
141
142
143
144
145
/* Basic reset for margins and padding */
body, h1, h2, p, ul {
margin: 0;
padding: 0;
list-style: none;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #333;
background-color: #f4f4f9;
line-height: 1.6;
}
header, footer {
background: linear-gradient(to right, #0078D4, #00BCF2);
color: white;
text-align: center;
padding: 20px 10px;
}
header h1 {
margin-bottom: 20px;
}
main {
display: flex;
flex-direction: column;
justify-content: left;
padding: 20px;
max-width: 1200px;
margin: 20px auto;
background-color: white;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.introduction p {
font-size: 18px;
padding: 20px;
color: #1b1b1b;
border-bottom: 1px solid #ccc;
margin-bottom: 20px;
}
.certification {
width: 100%;
margin-bottom: 30px;
text-align: left;
}
.certification h2 {
font-size: 22px;
color: #0056b3;
padding-bottom: 10px;
border-bottom: 2px solid #0056b3;
margin-bottom: 10px;
}
.certification ul {
display: flex;
flex-wrap: wrap;
justify-content: left; /* left-aligns the items horizontally */
}
.certification li {
background: #fff;
border: 1px solid #ccc;
padding: 10px;
margin: 10px; /* Ensures spacing around each item */
width: calc(50% - 20px); /* Adjust width to fit two items per row */
box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
align-items: left;
display: flex;
flex-direction: column;
}
.certification img {
width: 140px;
margin-bottom: 10px;
}
.certification strong {
font-size: 20px;
color: #333;
}
.certification p, .certification a {
font-size: 16px;
margin-top: 5px;
}
.about-section {
width: 15%;
padding: 10px;
background-color: #2d88d3;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: fixed;
right: 20px;
top: 130px;
/*height: calc(100% - 120px);*/
height: 380px;
}
.about-section h3 {
color: #ffffff;
margin-bottom: 10px;
font-size: 22px;
}
.about-section p {
font-size: 20px;
line-height: 1.6;
color: #fffdfd;
}
.about-section strong {
font-size: 18px;
color: #fffefe;
}
.about-section a {
font-size: 20px;
color: #f2bb07;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
.certification ul {
flex-direction: column;
}
.certification li {
width: 100%; /* Full width on smaller screens */
}
.about-section {
position: static;
width: 100%;
padding: 10px;
height: auto;
border-radius: 0;
}
}