This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Fix https://github.com/felicity-iiith/contest-portal-frontend/issues/1 #4
Closed
Kunalgarg2100
wants to merge
3
commits into
felicity-iiith:master
from
Kunalgarg2100:felicity_fontend
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -17,3 +17,47 @@ | |
.error { | ||
color: red; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We use milligram CSS and want to keep additional styling as minimal as possible. Please use buttons. This is because we want to later easily change this styling (the lower the classes, the easier it is to change) for each year's theme |
||
ul.Nav { | ||
padding:0; | ||
list-style-type:none; | ||
} | ||
ul.Nav li { | ||
display: inline; | ||
} | ||
|
||
ul.Nav li a { | ||
/*background-color: #6E6E6E;*/ | ||
background-color:#9b4dca; | ||
color: #FFF; | ||
border: 1.5px solid #333; | ||
font-size: 16px; | ||
font-weight: 600; | ||
padding: 1.5px 12px; | ||
margin: 0 4px; | ||
text-decoration: none; | ||
border-radius: 3px; | ||
-moz-border-radius: 3px; | ||
-webkit-border-radius: 3px; | ||
box-shadow: 0 0 5px 0 gray; | ||
-moz-box-shadow: 0 0 5px 0 gray; | ||
-webkit-box-shadow: 0 0 5px 0 gray; | ||
} | ||
|
||
|
||
ul.Nav li a#prv{ | ||
float: left; | ||
} | ||
|
||
ul.Nav li a#nxt{ | ||
float: right; | ||
} | ||
|
||
|
||
ul.Nav a:hover, ul.Nav a:focus { | ||
background-color: #FFF; | ||
color: #9b4dca; | ||
box-shadow: none; | ||
-moz-box-shadow: none; | ||
-webkit-box-shadow: none; | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I wanted is that you use
props.params.qno
and find the previous and the next question number. Note that this would be a string soparseInt
it at the start of the render function and use that with template strings in the url routes.