-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
128 lines (114 loc) · 2.4 KB
/
Copy pathstyles.css
File metadata and controls
128 lines (114 loc) · 2.4 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
/* Basic reset to remove default padding and margins */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
padding: 60px 20px;
}
/* Header bar styling */
.main-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
background-color: #333; /* Dark gray background */
color: #fff; /* White text color */
padding: 0.65rem 1.5rem;
display: flex;
justify-content: space-between; /* Pushes the logo and nav to opposite ends */
align-items: center; /* Vertically centers items */
}
/* Logo styling */
.logo {
font-size: 2rem;
}
/* Navigation menu styling */
.main-nav ul {
list-style: none;
display: flex;
gap: 1.5rem; /* Keep the original gap for spacing */
}
/* Add a separator border to each list item */
.main-nav li {
border-right: 1px solid #777; /* A subtle, light gray border */
padding-right: 1.5rem; /* Add padding to the right to create space around the border */
}
/* Remove the border from the very last list item */
.main-nav li:last-child {
border-right: none;
padding-right: 0; /* Remove the extra padding from the last item */
}
/* Style links inside the navigation menu */
.main-nav a {
color: #fff;
text-decoration: none;
font-size: 1.1rem;
transition: color 0.3s;
}
.main-nav a:hover {
color: #ccc;
}
.main-nav li:active {
background-color: #363636ee;
}
/* -------- Start Shapes -------- */
.container {
display: flex;
flex-wrap: wrap;
display: grid;
justify-content: center;
align-items: center;
grid-template-columns: repeat(4, max-content);
gap: 10px;
}
.rectangle-vert {
width: 70px;
height: 140px;
border: 1px solid;
}
.rectangle-horiz {
width: 140px;
height: 70px;
border: 1px solid;
}
.square {
width: 100px;
height: 100px;
border: 1px solid;
}
.square:hover {
background-color: maroon;
}
.circle {
width: 100px;
height: 100px;
border-radius: 50%;
border: 1px solid;
}
.oval-vert {
width: 70px;
height: 140px;
border-radius: 50%;
border: 1px solid;
}
.oval-horiz {
width: 140px;
height: 70px;
border-radius: 50%;
border: 1px solid;
}
.line-horiz {
width: 100px;
height: 1px;
background-color: black;
}
.line-vert {
width: 1px;
height: 100px;
background-color: black;
}
/* -------- End Shapes -------- */