-
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 #156 from danielzhang2001/DanielsBranch
a
- Loading branch information
Showing
3 changed files
with
130 additions
and
1 deletion.
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,64 @@ | ||
.menu { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-evenly; | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
left: 30%; | ||
width: auto; | ||
height: 40px; | ||
background: linear-gradient(to right, navy, #005085); | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
border-top: none; | ||
border-left: 4px solid rgb(0, 41, 102); | ||
border-right: 4px solid rgb(0, 41, 102); | ||
border-bottom: 4px solid rgb(0, 41, 102); | ||
border-radius: 0 0 20px 20px; | ||
z-index: 1000; | ||
} | ||
|
||
.menu a { | ||
padding: 0 15px; | ||
margin-right: auto; | ||
border-right: 4px solid rgb(0, 41, 102); | ||
color: white; | ||
text-decoration: none; | ||
display: flex; | ||
justify-content: space-between; | ||
text-align: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.menu a:last-child { | ||
border-right: none; | ||
} | ||
|
||
.banner { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 120px; | ||
height: 25px; | ||
color: #fff; | ||
font-size: 14px; | ||
font-weight: 700; | ||
border-radius: 2px; | ||
background-repeat: no-repeat; | ||
background-position: right 15px center; | ||
background-size: 20px 20px; | ||
} | ||
|
||
.home { | ||
background-image: url('../images/home.png'); | ||
} | ||
|
||
.github { | ||
background-image: url('../images/github.png'); | ||
} | ||
|
||
.privacy { | ||
background-image: url('../images/privacy.png'); | ||
} |
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,64 @@ | ||
.menu { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-evenly; | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
left: 30%; | ||
width: auto; | ||
height: 40px; | ||
background: linear-gradient(to right, navy, #005085); | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
border-top: none; | ||
border-left: 4px solid rgb(0, 41, 102); | ||
border-right: 4px solid rgb(0, 41, 102); | ||
border-bottom: 4px solid rgb(0, 41, 102); | ||
border-radius: 0 0 20px 20px; | ||
z-index: 1000; | ||
} | ||
|
||
.menu a { | ||
padding: 0 10px; | ||
margin-right: auto; | ||
border-right: 4px solid rgb(0, 41, 102); | ||
color: white; | ||
text-decoration: none; | ||
display: flex; | ||
justify-content: space-between; | ||
text-align: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.menu a:last-child { | ||
border-right: none; | ||
} | ||
|
||
.banner { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 120px; | ||
height: 25px; | ||
color: #fff; | ||
font-size: 14px; | ||
font-weight: 700; | ||
border-radius: 2px; | ||
background-repeat: no-repeat; | ||
background-position: right 15px center; | ||
background-size: 20px 20px; | ||
} | ||
|
||
.home { | ||
background-image: url('../images/home.png'); | ||
} | ||
|
||
.github { | ||
background-image: url('../images/github.png'); | ||
} | ||
|
||
.privacy { | ||
background-image: url('../images/privacy.png'); | ||
} |
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