-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (99 loc) · 2.67 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
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
body {
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
background-color: rgb(174, 210, 255);
}
.main {
flex: 1;
}
.navbar {
list-style: none;
margin: 0;
padding: 10px;
background-color: #27005D;
text-align: center;
}
.navbar li {
display: inline;
margin-right: 50px; /* Adjust as needed for spacing between items */
}
.navbar a {
text-decoration: none;
color: #fff;
font-weight: bold;
font-size: 24px;
}
/* Style for the navbar links on hover */
.navbar li a:hover {
color: #a67add; /* Change the color on hover */
}
.text-overlay {
position: absolute; /* Position the text absolutely within the container */
top: 5%; /* Align the text vertically at the center */
left: 35%; /* Align the text horizontally at the center */
/* background-color: rgba(0, 0, 0, 0.5); Background color with opacity for readability */
padding: 40px; /* Add padding to the text for better visibility */
color: #fff; /* Text color */
}
.animated-text {
font-family: Croissant One, sans-serif;
font-size: 3rem;
color: #fff;
white-space: nowrap;
overflow: hidden;
border-right: 2px solid #fff; /* Typing cursor effect */
animation: typing 3s steps(22) infinite;
}
@keyframes typing {
0% {
width: 0;
}
100% {
width: 100%;
}
}
.flex-container {
display: flex;
justify-content: space-between;
margin-top: 50px;
align-items: flex-start;
flex-wrap: wrap;
}
#bestSellers {
text-align: center;
margin-top: 200px;
}
.flex-item {
flex: 1;
text-align: center;
margin: 10px;
}
#tee {
width: 70%;
height: auto;
}
#hoodie{
width: 100%;
height: auto;
}
#shorts {
width: 70%;
height: auto;
}
footer {
text-align: right;
color: midnightblue;
}
/* ------------------- About Me ----------------------*/
.about-me {
flex: 1;
}
.description {
position: absolute; /* Position the text absolutely within the container */
top: 50%; /* Align the text vertically at the center */
left: 50%; /* Align the text horizontally at the center */
transform: translate(-50%, -50%); /* Adjust to center the text properly */
/* background-color: rgba(0, 0, 0, 0.5); Background color with opacity for readability */
padding: 40px; /* Add padding to the text for better visibility */
color: #fff; /* Text color */
}