Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Create Against Hate
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robin King
Create Against Hate
Commits
c598d160
Commit
c598d160
authored
2 years ago
by
Robin King
Browse files
Options
Downloads
Patches
Plain Diff
feat(styles.css): create variables for colours used across website
parent
8855a33d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
styles.css
+57
-0
57 additions, 0 deletions
styles.css
with
57 additions
and
0 deletions
styles.css
+
57
−
0
View file @
c598d160
/* Globals */
:root
{
/** This is the primary background colour for the website **/
/* USAGE: index.html:hero && rules.html:rules && All borders */
--main-dark
:
#03080c
;
/** These are colours used for the main sections of the website **/
/* USAGE: index.html:about && location.html:directions */
--section-blue
:
#194263
;
/* USAGE: index.html:sign-up-form && location.html:map */
--section-pink
:
#fb5aba
;
/* USAGE: rules.html:rules */
--section-baby-pink
:
#fd98d4
;
/* USAGE: about.html:hero */
--section-purple
:
#6e539a
;
/* USAGE: about.html:about */
--section-purple-saturated
:
#6f277b
;
/** The colour of checked items in the sign up form **/
/* USAGE: index.html:sign-up-form > online-in-person && index.html:sign-up-form > interests */
--form-filled
:
#2c74ae
;
/** Pink accent colours used across website **/
/* USAGE: index.html:hero > sign up button && rules.html:rules > sign up button */
--accent-pink
:
#c30576
;
/* USAGE: index.html:hero > sign up button:active && rules.html:rules > sign up button:active */
--accent-pink-lighter
:
#fa2aa6
;
/* USAGE: index.html:about > hyperlinks && locations.html:directions > hyperlinks */
--accent-baby-pink
:
#fd98d4
;
/** Blue accent colours used across website **/
/* USAGE:
index.html:sign-up-form > sign up button
&& about.html:hero > hyperlinks
&& about.html:about > hyperlinks
&& rules.html:rules > hyperlinks
&& location.html:directions > selected tab + sign up button
*/
--accent-blue
:
#00eded
;
/* USAGE: index.html:sign-up-form > sign up button:active && location.html:directions > sign up button:active */
--accent-blue-lighter
:
#54ffff
;
/* USAGE: All visited hyperlinks */
--accent-baby-blue
:
#c1ffff
;
/* USAGE: Footer Background Colour */
--footer-purple
:
#1f172c
;
}
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