-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab04.css
More file actions
107 lines (81 loc) · 1.47 KB
/
lab04.css
File metadata and controls
107 lines (81 loc) · 1.47 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
/* Global Styles */
* {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
margin: 0;
}
.section {
height: 150px;
width: 100px;
margin-left: auto;
margin-right: auto;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: #333;
}
/* Header Styles */
header {
background-color: #f2f2f2;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
header h1, header h3 {
margin: 0;
}
header nav ul {
display: flex;
}
header nav li {
margin: 0 10px;
}
/* Main Styles */
main {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 20px;
}
main section {
grid-column: span 6;
}
main section ul li {
margin: 10px 0;
}
main section ul li strong {
font-weight: bold;
}
/* Education Section Styles */
main section:nth-of-type(1) {
grid-column: span 4;
}
/* Experience Section Styles */
main section:nth-of-type(2) {
grid-column: span 4;
}
/* Skills Section Styles */
main section:nth-of-type(3) {
grid-column: span 4;
}
/* Contact Section Styles */
main section:nth-of-type(4) {
grid-column: span 6;
}
/* Footer Styles */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
}