mirror of
https://github.com/TrentSPalmer/fcc-challenges.git
synced 2024-11-21 19:31:29 -08:00
add github label to mccaine-tribute
This commit is contained in:
parent
c30e937697
commit
6c1b728d96
@ -8,6 +8,10 @@
|
||||
<title>McCain Tribute - Build a Tribute Page - Responsive Web Design Projects</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="https://github.com/TrentSPalmer/fcc-challenges/tree/gh-pages" class="githubLabel" target="_blank">
|
||||
<img src="https://github.blog/wp-content/uploads/2008/12/forkme_right_white_ffffff.png?resize=149%2C149"
|
||||
class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1">
|
||||
</a>
|
||||
<div id="main">
|
||||
<div>
|
||||
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
|
||||
|
@ -45,3 +45,42 @@ body,html {
|
||||
position: relative;
|
||||
top: -2rem;
|
||||
}
|
||||
|
||||
.attachment-full {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
height: 149px;
|
||||
width: 149px;
|
||||
}
|
||||
|
||||
.githubLabel {
|
||||
background-color: #00293C;
|
||||
border: none;
|
||||
width: 149px;
|
||||
height: 0px;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
margin-top: -20px;
|
||||
}
|
||||
|
||||
@media (orientation: portrait) {
|
||||
.attachment-full {
|
||||
height: 99px;
|
||||
width: 99px;
|
||||
}
|
||||
|
||||
.githubLabel {
|
||||
width: 99px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (orientation: landscape) and (max-height: 400px) {
|
||||
.attachment-full {
|
||||
height: 99px;
|
||||
width: 99px;
|
||||
}
|
||||
|
||||
.githubLabel {
|
||||
width: 99px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user