Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
site-kwei
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aeltheos
site-kwei
Commits
42d08dbb
Commit
42d08dbb
authored
4 years ago
by
Dorian Lesbre
Browse files
Options
Downloads
Patches
Plain Diff
Used variables for main colors
parent
b2371a3e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
home/static/css/style.css
+19
-14
19 additions, 14 deletions
home/static/css/style.css
with
19 additions
and
14 deletions
home/static/css/style.css
+
19
−
14
View file @
42d08dbb
:root
{
--color_bg_1
:
#00b80f
;
--color_bg_2
:
#006809
;
}
html
,
body
{
color
:
#333
;
font-size
:
18px
;
...
...
@@ -16,12 +21,12 @@ section a:link {
}
.header
{
display
:
flex
;
background-color
:
#00b80f
;
border-bottom
:
5px
solid
#006809
;
display
:
flex
;
background-color
:
var
(
--color_bg_1
)
;
border-bottom
:
5px
solid
var
(
--color_bg_2
)
;
margin
:
0px
;
border-top
:
0px
;
align-items
:
center
;
align-items
:
center
;
padding
:
0px
0px
20px
20px
;
}
...
...
@@ -34,13 +39,13 @@ section a:link {
}
nav
{
display
:
flex
;
justify-content
:
center
space-around
;
background-color
:
#006809
;
color
:
white
;
margin
:
0
;
padding
:
0
30px
;
border-bottom
:
5px
solid
#006809
;
display
:
flex
;
justify-content
:
center
space-around
;
background-color
:
var
(
--color_bg_2
)
;
color
:
white
;
margin
:
0
;
padding
:
0
30px
;
border-bottom
:
5px
solid
var
(
--color_bg_2
)
;
}
nav
div
{
...
...
@@ -65,7 +70,7 @@ nav a {
nav
a
:hover
{
transition-property
:
background-color
;
background-color
:
#00b80f
;
background-color
:
var
(
--color_bg_1
)
;
transition-duration
:
0.5s
;
}
...
...
@@ -85,8 +90,8 @@ section h2 {
font-size
:
1.5rem
;
font-weight
:
300
;
text-align
:
left
;
border-bottom
:
2px
solid
#006809
;
border-image-source
:
linear-gradient
(
to
right
,
#006809
0%
,
transparent
75%
);
border-bottom
:
2px
solid
var
(
--color_bg_2
)
;
border-image-source
:
linear-gradient
(
to
right
,
var
(
--color_bg_2
)
0%
,
transparent
75%
);
border-image-slice
:
1
;
}
...
...
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