Gitlab@Informatics
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
project-melon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
65160381
project-melon
Commits
51d7be9a
Commit
51d7be9a
authored
2 months ago
by
65160381
Browse files
Options
Downloads
Patches
Plain Diff
8.2
parent
902004b7
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#602
passed with warnings
2 months ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/styles/home.css
+80
-63
80 additions, 63 deletions
public/styles/home.css
with
80 additions
and
63 deletions
public/styles/home.css
+
80
−
63
View file @
51d7be9a
body
{
*
{
font-family
:
'Roboto'
,
sans-serif
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
body
{
font-family
:
'Roboto'
,
sans-serif
;
background-color
:
#f4f6f9
;
background-color
:
#f4f6f9
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
min-height
:
100vh
;
min-height
:
100vh
;
color
:
#333
;
}
}
/* H
ome Contain
er */
/* H
ead
er */
.home-contain
er
{
head
er
{
width
:
100%
;
width
:
100%
;
max-width
:
1200px
;
padding
:
15px
30px
;
padding
:
30px
;
background-color
:
#ff7e5f
;
background-color
:
#ffffff
;
display
:
flex
;
border-radius
:
12px
;
justify-content
:
space-between
;
box-shadow
:
0
6px
15px
rgba
(
0
,
0
,
0
,
0.1
);
align-items
:
center
;
margin
:
20px
;
box-shadow
:
0
4px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-sizing
:
border-box
;
}
}
/* Title */
header
.logo
h1
{
h1
{
color
:
white
;
font-size
:
36px
;
font-size
:
28px
;
color
:
#333
;
font-weight
:
700
;
margin-bottom
:
20px
;
text-align
:
center
;
}
}
/* Section */
header
.search-bar
input
{
.section
{
padding
:
8px
15px
;
font-size
:
16px
;
border-radius
:
20px
;
border
:
none
;
width
:
300px
;
}
header
.cart
a
,
header
.logout
a
,
header
.edit-order-btn
{
color
:
white
;
font-size
:
16px
;
margin-left
:
20px
;
text-decoration
:
none
;
}
header
.user-info
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
gap
:
30px
;
}
justify-content
:
space-between
;
margin-top
:
20px
;
/* Products Section */
.products
{
display
:
grid
;
grid-template-columns
:
repeat
(
auto-fill
,
minmax
(
280px
,
1
fr
));
gap
:
20px
;
margin
:
40px
20px
;
width
:
100%
;
max-width
:
1200px
;
}
}
/* Card */
.product
{
.card
{
background-color
:
white
;
flex
:
1
;
min-width
:
280px
;
padding
:
20px
;
padding
:
20px
;
background-color
:
#ffffff
;
border-radius
:
8px
;
border-radius
:
10px
;
box-shadow
:
0
4px
10px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
4px
10px
rgba
(
0
,
0
,
0
,
0.1
);
transition
:
all
0.3s
ease
;
text-align
:
center
;
text-align
:
center
;
}
}
.card
:hover
{
.product
img
{
transform
:
translateY
(
-5px
);
width
:
100%
;
box-shadow
:
0
6px
15px
rgba
(
0
,
0
,
0
,
0.2
);
height
:
200px
;
object-fit
:
cover
;
border-radius
:
8px
;
}
}
/* Card Title */
.product
h3
{
.card
h2
{
font-size
:
20px
;
font-size
:
24px
;
margin
:
10px
0
;
color
:
#ff7e5f
;
margin-bottom
:
15px
;
}
}
/* Card Description */
.product
p
{
.card
p
{
font-size
:
18px
;
font-size
:
16px
;
color
:
#333
;
color
:
#555
;
margin-bottom
:
15px
;
line-height
:
1.6
;
}
}
/* Button */
.product
button
{
.card
button
{
padding
:
10px
20px
;
padding
:
12px
20px
;
background-color
:
#ff7e5f
;
background-color
:
#ff7e5f
;
color
:
white
;
color
:
white
;
font-size
:
16px
;
border
:
none
;
border
:
none
;
border-radius
:
8
px
;
border-radius
:
5
px
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-top
:
15px
;
transition
:
background-color
0.3s
ease
;
transition
:
background-color
0.3s
ease
;
}
}
.
card
button
:hover
{
.
product
button
:hover
{
background-color
:
#feb47b
;
background-color
:
#feb47b
;
}
}
/* Footer */
/* Footer */
footer
{
footer
{
margin-top
:
40px
;
background-color
:
#333
;
color
:
white
;
padding
:
15px
0
;
text-align
:
center
;
text-align
:
center
;
font-size
:
14px
;
width
:
100%
;
color
:
#777
;
}
}
/* Responsive Design */
/* Responsive Design */
@media
(
max-width
:
768px
)
{
@media
(
max-width
:
768px
)
{
.home-container
{
header
{
padding
:
20px
;
flex-direction
:
column
;
align-items
:
flex-start
;
}
}
.se
ction
{
.se
arch-bar
input
{
flex-direction
:
column
;
width
:
100%
;
align-items
:
center
;
margin-bottom
:
10px
;
}
}
.
card
{
.
products
{
margin-bottom
:
20px
;
grid-template-columns
:
1
fr
1
fr
;
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment