-
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 #2 from joealden/style-redesign
Style redesign
- Loading branch information
Showing
21 changed files
with
315 additions
and
301 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
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,5 @@ | ||
query Subforum($url: String!) { | ||
Subforum(url: $url) { | ||
name | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,75 +1,74 @@ | ||
main { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
@import 'variables'; | ||
|
||
section { | ||
width: 34rem; | ||
padding: 4rem 0; | ||
width: 30rem; | ||
margin: 0 auto; | ||
padding: 0; | ||
display: flex; | ||
flex-direction: column; | ||
background: white; | ||
background-color: $primary-blue; | ||
border: 3px solid hsla(0, 0, 0, 0.5); | ||
border-radius: 5px; | ||
background-color: #eee; | ||
box-shadow: 10px 10px 25px #999; | ||
} | ||
|
||
form { | ||
width: 28rem; | ||
margin: 1.5rem auto; | ||
padding: 0.8rem; | ||
border: 3px solid hsla(0, 0, 0, 0.35); | ||
border-radius: 5px; | ||
background-color: white; | ||
img { | ||
height: 6rem; | ||
margin: 3rem 3rem 2rem 3rem; | ||
} | ||
|
||
h1 { | ||
font-size: 2.2rem; | ||
margin: 0.5rem 0 1.1rem 0; | ||
form { | ||
width: 25rem; | ||
margin: 0 auto; | ||
padding: 0.75rem; | ||
border-radius: 0.3rem; | ||
background-color: white; | ||
} | ||
|
||
input { | ||
width: 98%; | ||
height: 4rem; | ||
width: 24.5rem; | ||
margin: 0.4rem 0; | ||
font-size: 1.65rem; | ||
margin-bottom: 0.7rem; | ||
text-align: center; | ||
border: 2px solid hsla(0, 0, 0, 0.35); | ||
border: none; | ||
border-radius: 5px; | ||
transition: 0.2s ease-in-out; | ||
} | ||
|
||
input[type='text'], | ||
input[type='password'] { | ||
background-color: rgb(245, 245, 245); | ||
background-color: #eee; | ||
|
||
&:hover, | ||
&:focus { | ||
background-color: white; | ||
background-color: $border; | ||
} | ||
} | ||
|
||
input[type='submit'] { | ||
width: 14rem; | ||
height: 3.75rem; | ||
margin-bottom: 0; | ||
background-color: black; | ||
background-color: $primary-blue; | ||
color: white; | ||
margin-bottom: 0; | ||
text-transform: uppercase; | ||
font-family: 'Source Sans Pro', sans-serif; | ||
font-weight: 600; | ||
color: $nav-hover; | ||
|
||
&:hover { | ||
cursor: pointer; | ||
background-color: $nav-hover; | ||
color: $nav-text-hover; | ||
border-color: $nav-hover; | ||
} | ||
} | ||
|
||
p { | ||
margin: 0; | ||
font-size: 1.2rem; | ||
|
||
font-size: 1.3rem; | ||
color: white; | ||
margin-top: 1.5rem; | ||
margin-bottom: 3rem; | ||
a { | ||
color: MediumSeaGreen; | ||
color: $nav-hover; | ||
} | ||
} | ||
|
||
img { | ||
height: 6rem; | ||
} |
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,32 @@ | ||
@import 'variables'; | ||
|
||
#grid { | ||
height: 100vh; | ||
width: 100vw; | ||
display: grid; | ||
grid-template-rows: 8rem auto; | ||
grid-template-columns: 25em auto; | ||
grid-template-areas: 'logo header' 'nav main'; | ||
} | ||
|
||
main { | ||
grid-area: main; | ||
text-align: center; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-content: center; | ||
background-color: #e3e4e8; | ||
box-shadow: 10px 10px 30px #999 inset; | ||
overflow: auto; | ||
} | ||
|
||
.page-enter-active, | ||
.page-leave-active { | ||
transition: all 0.25s ease-out; | ||
} | ||
.page-enter, | ||
.page-leave-active { | ||
opacity: 0; | ||
transform-origin: 50% 50%; | ||
} |
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
$primary-blue: #101218; | ||
$secondary-blue: #0a0b10; | ||
$hover-blue: #282e37; | ||
|
||
$border: #d0d2db; | ||
|
||
$nav-hover: #53c556; | ||
$nav-active: #8ac8ff; | ||
$nav-text: #bfc1c9; | ||
$nav-text-hover: white; |
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.