Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/app/app.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,19 @@
color: #ddd;
}

.github-fork-ribbon:before {
background-color: #333;
.github-button img {
margin-right: 10px;
height: 30px;
width: auto;
transition: transform 0.2s;
}

.github-button:hover img {
transform: scale(1.1);
}

:host-context(.dark-theme) .github-button img {
filter: invert(1);
}

@media only screen and (max-width: 750px) {
Expand Down
14 changes: 5 additions & 9 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@
<div class="tag-subtitle">{{ subtitle }}</div>
</div>
<div class="dummy"></div>
<a
target="_blank"
class="github-fork-ribbon"
href="https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel"
data-ribbon="Fork me on GitHub"
title="Fork me on GitHub"
>Fork me on GitHub</a
>
<a target="_blank" class="github-button" href="https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel"
data-ribbon="Fork me on GitHub" title="Fork me on GitHub">
<img src="assets/images/github.png" alt="Fork me on GitHub" />
</a>
</div>
<mat-divider></mat-divider>
<router-outlet></router-outlet>
</mat-drawer-container>
</mat-drawer-container>
Binary file added src/assets/images/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 17 additions & 21 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>DSOMM</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap"
rel="stylesheet" />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined"
rel="stylesheet" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
</head>
<body>
<app-root></app-root>
</body>
</html>

<head>
<meta charset="utf-8" />
<title>DSOMM</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet" />
</head>

<body>
<app-root></app-root>
</body>

</html>