-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shaun Pelling
committed
Aug 5, 2016
1 parent
e6e2c5b
commit dea7377
Showing
2 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,144 @@ | ||
body{ | ||
font-family: verdana; | ||
letter-spacing: 0.1em; | ||
color: #606060; | ||
background: #eee; | ||
padding: 20px; | ||
} | ||
|
||
h1,h2,h3{ | ||
font-weight: normal; | ||
margin-top: 0; | ||
} | ||
|
||
h1{ | ||
text-indent: -10000px; | ||
background: url(logo.png) no-repeat center bottom; | ||
background-size: 100%; | ||
width: 140px; | ||
height: 100px; | ||
margin: 0 auto; | ||
} | ||
|
||
/* NAVBAR */ | ||
|
||
nav{ | ||
width: 100%; | ||
max-width: 740px; | ||
margin: 0 auto; | ||
} | ||
|
||
nav ul{ | ||
padding: 0 !important; | ||
background: #0288d1; | ||
display: flex; | ||
box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2),0 1px 1px 0 rgba(0,0,0,0.14),0 2px 1px -1px rgba(0,0,0,0.12); | ||
border-radius: 2px; | ||
margin-top: 0; | ||
} | ||
|
||
nav li{ | ||
flex-basis: 0; | ||
flex-grow: 1; | ||
list-style-type: none; | ||
} | ||
|
||
nav a{ | ||
text-align: center; | ||
padding: 16px 0; | ||
color: #eee; | ||
display: block; | ||
text-decoration: none; | ||
} | ||
|
||
nav a:hover{ | ||
background: #1298e1; | ||
} | ||
|
||
/* MAIN */ | ||
|
||
#main{ | ||
background: #fdfdfd; | ||
padding: 20px; | ||
box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2),0 1px 1px 0 rgba(0,0,0,0.14),0 2px 1px -1px rgba(0,0,0,0.12); | ||
border-radius: 2px; | ||
width: 100%; | ||
max-width: 740px; | ||
box-sizing: border-box; | ||
margin: 0 auto | ||
} | ||
|
||
#filter{ | ||
padding: 12px; | ||
background: #e7e7e7; | ||
border-radius: 2px; | ||
line-height: 30px | ||
} | ||
|
||
#filter input{ | ||
padding: 8px; | ||
width: 300px; | ||
border: 1px solid #d4d4d4; | ||
border-radius: 2px; | ||
float: right; | ||
} | ||
|
||
#filter:after{ | ||
content: ""; | ||
display: block; | ||
clear: both; | ||
} | ||
|
||
#ninja-listing li{ | ||
padding: 16px 0; | ||
border-bottom: 1px solid #e4e4e4; | ||
} | ||
|
||
.single-ninja span{ | ||
display: inline-block; | ||
border-radius: 2px; | ||
font-size: 14px; | ||
text-transform: uppercase; | ||
padding: 8px !important; | ||
} | ||
|
||
.single-ninja h3{ | ||
padding: 4px; | ||
font-size: 20px; | ||
margin-left: 20px; | ||
display: inline-block; | ||
} | ||
|
||
.single-ninja div{ | ||
float: right; | ||
margin-right: 10px; | ||
line-height: 20px; | ||
cursor: pointer; | ||
} | ||
|
||
#add-ninja{ | ||
margin-top: 30px; | ||
background: #e7e7e7; | ||
padding: 10px; | ||
border-radius: 2px; | ||
} | ||
|
||
#add-ninja input{ | ||
display: inline-block; | ||
padding: 10px; | ||
border-radius: 2px; | ||
border: 1px solid #ddd; | ||
width: 240px; | ||
} | ||
|
||
#add-ninja button{ | ||
background: #0288d1; | ||
color: #eee; | ||
padding: 8px 10px; | ||
border: 0; | ||
borader-radius: 2px; | ||
font-size: 16px; | ||
letter-spacing: 1px; | ||
cursor: pointer; | ||
float: right; | ||
} |