Skip to content

Commit

Permalink
Merge pull request #124 from rczajka/master
Browse files Browse the repository at this point in the history
Image attribution box
  • Loading branch information
hugosolar authored Aug 26, 2020
2 parents 512bae5 + b20ea95 commit 7f4f9dc
Show file tree
Hide file tree
Showing 10 changed files with 605 additions and 5 deletions.
48 changes: 48 additions & 0 deletions css/cc-attribution-box.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

.cc-attribution-box-container {
display: inline-block;
position: relative;
}
.cc-attribution-box {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: white;
color: black;
padding: 0 25px;

opacity: .85;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
font-family: 'Roboto', sans-serif;

font-size: 18px;
line-height: 22px;
}
.cc-attribution-box > * {
margin: 5px;
}
.cc-attribution-box a {
color: black;
text-decoration: none;
}
.cc-attribution-box a.cc-attribution-box-license {
flex-shrink: .5;
}

.cc-attribution-box img {
height: 48px;
margin: 20px 0;
}

@media screen and (max-width: 600px) {
.cc-attribution-box {
font-size: 12px;
line-height: 15px;
padding: 0 15px;
}
}
91 changes: 91 additions & 0 deletions includes/attribution-box/by-nc-nd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions includes/attribution-box/by-nc-sa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7f4f9dc

Please sign in to comment.