-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from wlmac/develop
Homepage revamp
- Loading branch information
Showing
15 changed files
with
574 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
:root { | ||
--rounding: 10px; | ||
} | ||
|
||
#AnnouncementContainer { | ||
width: 100%; | ||
border-radius: var(--rounding); | ||
box-shadow: 0px 5px 4px 1px rgba(0, 0, 0, 0.2); | ||
background-color: white; | ||
} | ||
|
||
.heading { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
background-color: #073763; /* dark blue metropolis colour, should probably get this colour from a variable instead of hardcoding */ | ||
padding: 2.5%; | ||
border-radius: var(--rounding) var(--rounding) 0 0; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.head { | ||
color: white; | ||
padding-left: 5%; | ||
margin-top: 0; | ||
font-weight: bold; | ||
} | ||
|
||
.date { | ||
text-align: right; | ||
padding-right: 5%; | ||
color: #99acbc; | ||
font-weight: lighter; | ||
} | ||
|
||
.content { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
|
||
.left-side { | ||
box-shadow: 3px 0px 4px 1px rgba(0, 0, 0, 0.2); | ||
border-radius: var(--rounding); | ||
} | ||
|
||
.miniAnnouncement { | ||
background-color: white; | ||
padding: 3% 0% 4% 10%; | ||
border-top: 1px solid #f5f5f5; | ||
border-bottom-left-radius: var(--rounding); | ||
} | ||
|
||
.featuredAnnouncement { | ||
padding: 3% 0% 4% 10%; | ||
border-top: 1px solid #f5f5f5; | ||
border-bottom-left-radius: var(--rounding); | ||
} | ||
|
||
.featured-title { | ||
color: black; | ||
font-size: 1.7rem; | ||
font-weight: bold; | ||
} | ||
|
||
.featured-body-text { | ||
padding-top: 3%; | ||
} | ||
|
||
.mini-title { | ||
color: #5e8db9; | ||
font-size: 1.2rem; | ||
font-weight: bold; | ||
} | ||
|
||
.club-info { | ||
color: #4b749d; | ||
font-weight: bold; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.club-name { | ||
padding-top: 3px; | ||
padding-left: 2%; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.