1
Fork 0

Remove unnecessary static assets

This commit is contained in:
Jake Howard 2017-10-24 20:14:34 +01:00
parent 1ed297cc40
commit 26bdef3fd4
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 1 additions and 163 deletions

View file

@ -19,12 +19,10 @@
},
"dependencies": {
"bootstrap": "4.0.0-beta",
"club-alpha": "0.0.3",
"font-awesome": "4.7.0",
"jquery": "3.2.1",
"lg-thumbnail": "1.0.3",
"lightgallery": "1.4.0",
"pygments-css": "1.0.0",
"tstatic": "1.1.0"
}
}

View file

@ -1,42 +0,0 @@
'use strict';
/*
Alpha by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
$(function() {
var $body = $('body');
// Dropdowns.
$('#nav > ul').dropotron({
alignment: 'right'
});
// Navigation Button.
$(
'<div id="navButton">' +
'<a href="#navPanel" class="toggle"></a>' +
'</div>'
).appendTo($body);
// Navigation Panel.
$(
'<div id="navPanel">' +
'<nav>' +
$('#nav').navList() +
'</nav>' +
'</div>'
)
.appendTo($body)
.panel({
delay: 500,
hideOnClick: true,
hideOnSwipe: true,
resetScroll: true,
resetForms: true,
side: 'left',
target: $body,
visibleClass: 'navPanel-visible'
});
});

View file

@ -4,11 +4,8 @@ require('./jquery-global');
require('bootstrap');
// Install alpha things
require('club-alpha/assets/js/jquery.dropotron.min');
require('club-alpha/assets/js/util');
require('lightgallery/dist/js/lightgallery');
require('lg-thumbnail/dist/lg-thumbnail');
require('./alpha/main');
require('./search');

File diff suppressed because one or more lines are too long

View file

@ -1,59 +1,16 @@
$fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome";
@import "node_modules/bootstrap/scss/bootstrap-grid";
@import "node_modules/bootstrap/scss/_mixins";
@import "node_modules/bootstrap/scss/_transitions";
@import "node_modules/bootstrap/scss/_card";
@import "node_modules/bootstrap/scss/_badge";
@import "node_modules/lightgallery/src/sass/lightgallery";
@import "node_modules/bootstrap/scss/bootstrap";
@import "highlight"; // Generated by Hugo
@import "alpha.min";
.box .box {
border-radius: 0;
}
.box {
width: 100%;
h1 {
font-size: 2.75em;
}
img {
width: 100%;
}
}
.box a .image {
margin-top: -3em !important;
border-radius: 0 !important;
}
.dropotron {
width: initial;
}
ul.actions {
text-align: center;
}
#banner {
background-attachment: fixed;
background-image: url("../img/header.jpg");
background-size: 100%;
}
pre code {
margin: 0;
border: 0;
border-radius: 0;
background: none;
padding: 0;
font-size: 0.75em;
}
code {
@ -75,68 +32,6 @@ code {
}
}
a.no-underline {
border-bottom: 0;
}
a .icon {
cursor: inherit !important;
}
blockquote p {
margin-bottom: 0;
}
#header nav > ul > li a {
padding: 0 0.8em;
}
nav {
a {
text-overflow: ellipsis;
white-space: nowrap;
@media screen and (max-width: 840px) {
overflow: hidden;
&.link.depth-2 {
display: none !important;
}
}
@media screen and (min-width: 840px) {
&.show-mobile {
display: none !important;
}
}
}
}
.dropotron.level-0 {
margin-top: 0.4em;
}
.dropotron.level-1 {
right: 100% !important;
left: initial !important;
margin-top: 0.1em;
}
#main > header {
margin-bottom: 2em;
p {
padding: 1em 0 0.5em;
}
small {
display: block;
font-size: 0.9em;
}
}
.yt-embed {
position: relative;
padding-top: 30px;
@ -172,15 +67,6 @@ nav {
}
}
.index-list {
margin-top: 4em;
}
#tags > * {
display: inline-block;
padding: 0 2px;
}
.search-input-container {
margin: 20px 40px;