mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-11-24 01:14:28 +01:00
Table grid of all projects
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const list = require('list.js');
|
||||
|
||||
const main = () => {
|
||||
console.log('hi!');
|
||||
};
|
||||
|
||||
257
website/table.tmpl.html
Normal file
257
website/table.tmpl.html
Normal file
@@ -0,0 +1,257 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="no-js" lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="Cache-control" content="public">
|
||||
<meta charset="UTF-8">
|
||||
<title>Awesome-docker</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="theme-color" content="#5DBCD2">
|
||||
<meta name="description" content="A curated list of Docker resources and projects.">
|
||||
<meta name="keywords" content="free and open-source open source projects for docker moby kubernetes linux awesome awesome-list container tools dockerfile list moby docker-container docker-image docker-environment docker-deployment docker-swarm docker-api docker-monitoring docker-machine docker-security docker-registry">
|
||||
<meta name="google-site-verification" content="_yiugvz0gCtfsBLyLl1LnkALXb6D4ofiwCyV1XOlYBM" />
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
color: #606c71
|
||||
}
|
||||
|
||||
section {
|
||||
display: block
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
color: #5DBCD2;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: .67em 0
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0
|
||||
}
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 1rem;
|
||||
color: hsla(0, 0%, 100%, .7);
|
||||
background-color: hsla(0, 0%, 100%, .08);
|
||||
border: 1px solid hsla(0, 0%, 100%, .2);
|
||||
border-radius: .3rem
|
||||
}
|
||||
|
||||
.page-header {
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #5DBCD2;
|
||||
background-image: linear-gradient(120deg, #155799, #5DBCD2)
|
||||
}
|
||||
|
||||
.project-name {
|
||||
margin-top: 0;
|
||||
margin-bottom: .1rem
|
||||
}
|
||||
|
||||
.project-tagline {
|
||||
margin-bottom: 2rem;
|
||||
font-weight: 400;
|
||||
opacity: .7
|
||||
}
|
||||
|
||||
.main-content>ul {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 2fr));
|
||||
grid-gap: 20px;
|
||||
align-items: stretch;
|
||||
line-height: 1;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.main-content>ul>li {
|
||||
display: grid;
|
||||
/* width: 300px; */
|
||||
/* max-width: 100%; */
|
||||
box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
|
||||
border: 1px solid #ccc;
|
||||
/* height: 300px; */
|
||||
/* grid-template-columns: 280px; */
|
||||
border-radius: 20px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.main-content>ul>li>* {
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
.main-content img {
|
||||
max-width: 100%
|
||||
}
|
||||
|
||||
.list li {
|
||||
list-style: none;
|
||||
padding: 5px 10px;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
|
||||
.sort {
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
background-color: #28a8e0;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.sort:hover {
|
||||
text-decoration: none;
|
||||
background-color: #1b8aba;
|
||||
}
|
||||
|
||||
.sort:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.sort:after {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
border-bottom: 5px solid transparent;
|
||||
content: "";
|
||||
position: relative;
|
||||
top: -10px;
|
||||
right: -5px;
|
||||
}
|
||||
|
||||
.sort.asc:after {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
border-top: 5px solid #fff;
|
||||
content: "";
|
||||
position: relative;
|
||||
top: 13px;
|
||||
right: -5px;
|
||||
}
|
||||
|
||||
.sort.desc:after {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
border-bottom: 5px solid #fff;
|
||||
content: "";
|
||||
position: relative;
|
||||
top: -10px;
|
||||
right: -5px;
|
||||
}
|
||||
|
||||
@media screen and (min-width:64em) {
|
||||
.btn {
|
||||
padding: .75rem 1rem
|
||||
}
|
||||
.page-header {
|
||||
padding: 5rem 6rem
|
||||
}
|
||||
.project-name {
|
||||
font-size: 3.25rem
|
||||
}
|
||||
.project-tagline {
|
||||
font-size: 1.25rem
|
||||
}
|
||||
.main-content {
|
||||
margin: 0 auto;
|
||||
font-size: 1.1rem
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:42em) and (max-width:64em) {
|
||||
.btn {
|
||||
padding: .6rem .9rem;
|
||||
font-size: .9rem
|
||||
}
|
||||
.page-header {
|
||||
padding: 3rem 4rem
|
||||
}
|
||||
.project-name {
|
||||
font-size: 2.25rem
|
||||
}
|
||||
.project-tagline {
|
||||
font-size: 1.15rem
|
||||
}
|
||||
.main-content {
|
||||
font-size: 1.1rem
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width:42em) {
|
||||
.btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: .75rem;
|
||||
font-size: .9rem
|
||||
}
|
||||
.page-header {
|
||||
padding: 2rem 1rem
|
||||
}
|
||||
.project-name {
|
||||
font-size: 1.75rem
|
||||
}
|
||||
.project-tagline {
|
||||
font-size: 1rem
|
||||
}
|
||||
.main-content {
|
||||
font-size: 1rem
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section class="page-header">
|
||||
<h1 class="project-name">Awesome-docker</h1>
|
||||
<h2 class="project-tagline">A curated list of Docker resources and projects</h2>
|
||||
<a href="https://github.com/veggiemonk/awesome-docker" class="btn">View on GitHub</a>
|
||||
<br>
|
||||
<!-- Place this tag where you want the button to render. -->
|
||||
<a class="github-button" href="https://github.com/veggiemonk/awesome-docker" data-icon="octicon-star" data-size="large" data-count-href="/veggiemonk/awesome-docker/stargazers"
|
||||
data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star veggiemonk/awesome-docker on GitHub">Star</a>
|
||||
</section>
|
||||
<section id="md" class="main-content"></section>
|
||||
<!--<script src="index.js"></script> -->
|
||||
<!--Place this tag in your head or just before your close body tag. -->
|
||||
<!-- <script async defer src="https://buttons.github.io/buttons.js"></script> -->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user