Skip to content

Commit

Permalink
Adding to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr committed May 4, 2024
0 parents commit ca5db4b
Show file tree
Hide file tree
Showing 26 changed files with 836 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: 'GitHub Pages'

on:
push:
branches: ['master']
repository_dispatch:
types:
- webhook
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: 'pages'
cancel-in-progress: false

jobs:
build:
name: 'Build'
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Configure Pages'
uses: actions/configure-pages@v3

- name: 'Jekyll Build Pages'
uses: actions/jekyll-build-pages@v1

- name: 'Upload Pages Artifact'
uses: actions/upload-pages-artifact@v2
with:
path: _site/

deploy:
name: 'Deploy'
runs-on: ubuntu-latest
timeout-minutes: 5
needs: build

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: 'Deploy Pages'
id: deployment
uses: actions/deploy-pages@v2
with:
artifact_name: github-pages
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.idea/
*.iml
.vscode/
.jekyll-cache/
_site/
20 changes: 20 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true,
"overrides": [
{
"files": ["**/*.html"],
"options": {
"singleQuote": false
}
},
{
"files": ["**/*.json", "**/*.yaml"],
"options": {
"tabWidth": 2
}
}
]
}
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/efahmjakjnnmleokcaomicgfhobabdkc?logo=google&logoColor=white&label=google%20users)](https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc)
[![Mozilla Add-on Users](https://img.shields.io/amo/users/open-links-in-new-tab?logo=mozilla&label=mozilla%20users)](https://addons.mozilla.org/addon/open-links-in-new-tab)
[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/efahmjakjnnmleokcaomicgfhobabdkc?label=chrome&logo=googlechrome)](https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc)
[![Mozilla Add-on Version](https://img.shields.io/amo/v/open-links-in-new-tab?label=firefox&logo=firefox)](https://addons.mozilla.org/addon/open-links-in-new-tab)
[![GitHub Release Version](https://img.shields.io/github/v/release/cssnr/open-links-in-new-tab?logo=github)](https://github.com/cssnr/open-links-in-new-tab/releases/latest)
[![Manifest Version](https://img.shields.io/github/manifest-json/v/cssnr/open-links-in-new-tab?filename=manifest.json&logo=json&label=manifest)](https://github.com/cssnr/open-links-in-new-tab/blob/master/manifest.json)
# Open Links in New Tab Site

* Website: https://open-links-in-new-tab.cssnr.com
* Github: https://github.com/cssnr/open-links-in-new-tab

# Install

* [Google Chrome Web Store](https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc)
* [Mozilla Firefox Add-ons](https://addons.mozilla.org/addon/open-links-in-new-tab)

<a href="https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc" target="_blank">
<img alt="Chrome" src="https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/google.com/google-chrome.svg" width="42" height="42" /></a>
<a href="https://addons.mozilla.org/addon/open-links-in-new-tab" target="_blank">
<img alt="Firefox" src="https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/firefox.com/firefox.svg" width="42" height="42" /></a>
<a href="https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc" target="_blank">
<img alt="Edge" src="https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/microsoft.com/microsoft-edge.svg" width="42" height="42" /></a>
<a href="https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc" target="_blank">
<img alt="Opera" src="https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/opera.com/opera.svg" width="42" height="42" /></a>
<a href="https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc" target="_blank">
<img alt="Brave" src="https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/brave.com/brave.svg" width="42" height="42" /></a>
<a href="https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc" target="_blank">
<img alt="Vivaldi" src="https://raw.githubusercontent.com/raivo-otp/issuer-icons/master/vectors/vivaldi.com/vivaldi.svg" width="42" height="42" /></a>

All **Chromium** Based Browsers can install the extension from the
[Chrome Web Store](https://chrome.google.com/webstore/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc).
17 changes: 17 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
timezone: America/Los_Angeles
encoding: utf-8

author: Shane
site_name: Open Links in New Tab
site_url: https://open-links-in-new-tab.cssnr.com

github_name: cssnr/open-links-in-new-tab
github_url: https://github.com/cssnr/open-links-in-new-tab

chrome_id: efahmjakjnnmleokcaomicgfhobabdkc
chrome_url: https://chromewebstore.google.com/detail/open-links-in-new-tab/efahmjakjnnmleokcaomicgfhobabdkc

firefox_id: open-links-in-new-tab
firefox_url: https://addons.mozilla.org/addon/open-links-in-new-tab

discord_webhook: https://discord.com/api/webhooks/242137648028712961/4xM7SXClH_i8we_epG6AXMaqhueg5L5oAVf1dnLw1_el05OxZ-JVfph-QrcQwPkOMJem
95 changes: 95 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!doctype html>
<html lang="en" class="h-100" {% if page.dark %}data-bs-theme="dark"{% endif %}>
<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.site_name }} - {{ page.title }}</title>

{% if page.noindex %}
<meta name="robots" content="noindex, nofollow">
{% endif %}

<meta name="author" content="{{ site.author }}"/>
<meta name="title" content="{{ site.site_name }} - {{ page.title }}"/>
<meta name="description" content="{{ site.site_name }} - {{ page.description }}"/>

<meta property="og:author" content="{{ site.author }}">
<meta property="og:title" content="{{ site.site_name }} - {{ page.title }}">
<meta property="og:description" content="{{ site.site_name }} - {{ page.description }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ site.site_url }}">
<meta property="og:image" content="{{ site.site_url }}/media/logo.png">

{% if page.dark != true %}
<script type="text/javascript" src="/js/theme.js"></script>
{% endif %}

<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.2/css/bootstrap.min.css" integrity="sha512-b2QcS5SsA8tZodcDtGRELiGv5SaKSk1vDHDaQRda0htPYWZ6046lr3kJ5bAAQdpV2mmA/4v0wQF9MyU6/pDIAg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="/css/main.css">

{% if page.title == 'Uninstall' %}
<link rel="stylesheet" href="/css/uninstall.css">
{% endif %}

</head>
<body class="d-flex flex-column h-100">

<header>
<nav class="navbar navbar-expand-sm">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="/media/logo.png" width="30" height="30" alt="logo"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-sm-0">
<li class="nav-item"><a class="nav-link {% if page.title == 'Home' %}active{% endif %}" href="/">
Home</a></li>
<li class="nav-item"><a class="nav-link {% if page.title == 'Docs' %}active{% endif %}" href="/docs/">
Docs</a></li>
<li class="nav-item"><a class="nav-link" href="/screenshots/" target="_blank">
Screen Shots <i class="fa-solid fa-arrow-up-right-from-square"></i></a></li>
<li class="nav-item"><a class="nav-link" href="{{ site.github_url }}" target="_blank" rel="noopener">
GitHub <i class="fa-solid fa-arrow-up-right-from-square"></i></a></li>
</ul>
</div>
</div>
</nav>
</header>

<main class="flex-grow-1 p-3">
{{ content }}
<div class="clearfix"></div>
</main>

<footer class="footer mt-auto p-2 flex-shrink-0">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-sm-4">
<p><a class="link-body-emphasis text-decoration-none" href="{{ site.github_url }}?tab=readme-ov-file#readme" target="_blank" rel="noopener">
<i class="fab fa-github"></i> {{ site.site_name }}</a></p>
</div>
<div class="col-12 col-sm-8 text-sm-end">
<ul class="list-inline">
<li class="list-inline-item"><a class="link-body-emphasis text-decoration-none {% if page.title == 'Home' %}fw-bold{% endif %}" href="/">Home</a></li>
<li class="list-inline-item">|</li>
<li class="list-inline-item"><a class="link-body-emphasis text-decoration-none {% if page.title == 'Docs' %}fw-bold{% endif %}" href="/docs/">Docs</a></li>
<li class="list-inline-item">|</li>
<li class="list-inline-item"><a class="link-body-emphasis text-decoration-none" href="/screenshots/" target="_blank">Screen Shots <i class="fa-solid fa-arrow-up-right-from-square"></i></a></li>
</ul>
</div>
</div>
</div>
</footer>

<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.2/js/bootstrap.bundle.min.js" integrity="sha512-X/YkDZyjTf4wyc2Vy16YGCPHwAY8rZJY+POgokZjQB2mhIRFJCckEGc6YyX9eNsPfn0PzThEuNs+uaomE5CO6A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript" src="/js/main.js"></script>

</body>
</html>
Binary file added apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added css/main.css
Empty file.
68 changes: 68 additions & 0 deletions css/screenshots.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
html,
body {
font-family:
Helvetica Neue,
Helvetica,
Arial,
sans-serif;
font-size: 14px;
margin: 0;
padding: 0;
position: relative;
height: 100%;
background: #111;
color: #111;
}
body {
background: #343432;
font-family:
Helvetica Neue,
Helvetica,
Arial,
sans-serif;
font-size: 14px;
color: #111;
margin: 0;
padding: 0;
}
.swiper {
width: 100%;
height: 300px;
margin-left: auto;
margin-right: auto;
}
.swiper-slide {
text-align: center;
font-size: 18px;
display: flex;
justify-content: center;
align-items: center;
background-size: cover;
background: #343432 center;
}
.swiper-slide img {
display: block;
max-width: 100%;
max-height: 100%;
object-fit: cover;
}
.mySwiper2 {
height: 80%;
width: 100%;
}
.mySwiper {
height: 20%;
box-sizing: border-box;
padding: 8px 0;
}
.mySwiper .swiper-slide {
width: 25%;
height: 100%;
opacity: 0.4;
}
.mySwiper .swiper-slide-thumb-active {
opacity: 1;
}
.swiper-pagination {
color: white;
}
35 changes: 35 additions & 0 deletions css/uninstall.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
body {
margin: 0;
/*background: #011467;*/
}

video {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
transform: translateX(-50%) translateY(-50%);
filter: blur(10px);
/*background: url('/media/loop1.jpg') no-repeat;*/
background-size: cover;
transition: 1s opacity;
}

#login-outer {
border-radius: 15px;
background: rgba(0 0 0 / 30%);
filter: drop-shadow(15px 15px 12px #000000);
}

.form-control {
background: rgba(0 0 0 / 30%);
}

#inputCounter {
margin-top: -25px;
margin-right: 15px;
}
Loading

0 comments on commit ca5db4b

Please sign in to comment.