mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-09-01 01:51:46 +02:00
Breaking changes.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
@charset "utf-8";
|
||||
|
||||
// @include "lib/h5bp-normalize.less"
|
||||
// @include "lib/h5bp-main-header.less"
|
||||
// @include "vendor/normalize.less"
|
||||
// @include "vendor/h5bp-pre.less"
|
||||
|
||||
// @include "inc/colors.less"
|
||||
// @include "inc/fonts.less"
|
||||
// @include "inc/misc.less"
|
||||
// @include "inc/mixins.less"
|
||||
// @include "lib/colors.less"
|
||||
// @include "lib/fonts.less"
|
||||
// @include "lib/misc.less"
|
||||
// @include "lib/mixins.less"
|
||||
|
||||
// @include "inc/*/*.less"
|
||||
// @include "lib/*/*.less"
|
||||
|
||||
// @include "inc/responsive.less"
|
||||
// @include "lib/responsive.less"
|
||||
|
||||
// @include "lib/h5bp-main-footer.less"
|
||||
// @include "vendor/h5bp-post.less"
|
||||
|
@@ -3,7 +3,7 @@
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Hide visually and from screen readers:
|
||||
* Hide visually and from screen readers
|
||||
*/
|
||||
|
||||
.hidden {
|
||||
@@ -84,6 +84,7 @@
|
||||
|
||||
// @media print,
|
||||
// (-webkit-min-device-pixel-ratio: 1.25),
|
||||
// (min-resolution: 1.25dppx),
|
||||
// (min-resolution: 120dpi) {
|
||||
// /* Style adjustments for high resolution devices */
|
||||
// }
|
||||
@@ -97,7 +98,9 @@
|
||||
@media print {
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
*:after,
|
||||
*:first-letter,
|
||||
*:first-line {
|
||||
background: transparent !important;
|
||||
color: #000 !important; /* Black prints faster:
|
||||
http://www.sanbeiji.com/archives/953 */
|
@@ -1,4 +1,4 @@
|
||||
/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */
|
||||
/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */
|
||||
|
||||
/*
|
||||
* What follows is the result of much research on cross-browser styling.
|
||||
@@ -84,12 +84,12 @@ textarea {
|
||||
Browser Upgrade Prompt
|
||||
========================================================================== */
|
||||
|
||||
.browserupgrade {
|
||||
margin: 0.2em 0;
|
||||
background: #ccc;
|
||||
color: #000;
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
// .browserupgrade {
|
||||
// margin: 0.2em 0;
|
||||
// background: #ccc;
|
||||
// color: #000;
|
||||
// padding: 0.2em 0;
|
||||
// }
|
||||
|
||||
/* ==========================================================================
|
||||
Author's custom styles
|
@@ -1,7 +1,11 @@
|
||||
modulejs.define('boot', ['$', 'core/server'], function ($, server) {
|
||||
|
||||
var module = $('script[data-module]').data('module');
|
||||
var data = {action: 'get', setup: true, options: true, types: true};
|
||||
var data = {
|
||||
action: 'get',
|
||||
setup: true,
|
||||
options: true,
|
||||
types: true
|
||||
};
|
||||
|
||||
if (module === 'index') {
|
||||
data.theme = true;
|
||||
@@ -13,8 +17,9 @@ modulejs.define('boot', ['$', 'core/server'], function ($, server) {
|
||||
}
|
||||
|
||||
server.request(data, function (config) {
|
||||
|
||||
modulejs.define('config', config);
|
||||
$(function () { modulejs.require('main/' + module); });
|
||||
$(function () {
|
||||
modulejs.require('main/' + module);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -9,12 +9,12 @@
|
||||
}
|
||||
}());
|
||||
|
||||
// @include 'lib/jquery-*.js'
|
||||
// @include 'lib/jquery.*.js'
|
||||
// @include 'lib/lodash-*.js'
|
||||
// @include 'lib/marked-*.js'
|
||||
// @include 'lib/modulejs-*.js'
|
||||
// @include 'lib/prism-*.js'
|
||||
// @include 'vendor/jquery-*.js'
|
||||
// @include 'vendor/jquery.*.js'
|
||||
// @include 'vendor/lodash-*.js'
|
||||
// @include 'vendor/marked-*.js'
|
||||
// @include 'vendor/modulejs-*.js'
|
||||
// @include 'vendor/prism-*.js'
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
|
Reference in New Issue
Block a user