Https migrations

This commit is contained in:
斟酌 鵬兄 2015-11-24 19:23:30 +08:00
parent 07ceb117da
commit bd966f2fac
12 changed files with 47 additions and 23 deletions

View File

@ -3,6 +3,8 @@
/** @type {System.Cycle} */ /** @type {System.Cycle} */
var Cycle = __import( "System.Cycle" ); var Cycle = __import( "System.Cycle" );
/** @type {System.utils} */
var utils = __import( "System.utils" );
/** @type {System.utils.EventKey} */ /** @type {System.utils.EventKey} */
var EventKey = __import( "System.utils.EventKey" ); var EventKey = __import( "System.utils.EventKey" );
/** @type {System.Debug} */ /** @type {System.Debug} */
@ -112,7 +114,7 @@
/** @type {_AstConf_.AstroEdit} */ /** @type {_AstConf_.AstroEdit} */
var a_conf = Config.get( "AstroEdit" ); var a_conf = Config.get( "AstroEdit" );
var base_path = Config.get( "BasePath" ); var base_path = utils.siteProto( Config.get( "BasePath" ) );
/*{{{ preview fields */ /*{{{ preview fields */
var ae_p_fields = { var ae_p_fields = {

View File

@ -96,7 +96,7 @@
} }
.asl_smask[expand] { .asl_smask[expand] {
background-image: url(http://file.astropenguin.net/blog/layout-images/collapse.png); background-image: url(/assets/layout-images/collapse.png);
background-position: center 2.5px; background-position: center 2.5px;
background-repeat: no-repeat; background-repeat: no-repeat;
} }

View File

@ -18,7 +18,7 @@
var sound = function (insertSnippet, snippetWrap, createContext, override) var sound = function (insertSnippet, snippetWrap, createContext, override)
{ {
var temp, i, j var temp, i, j
, defaultArt = "http://file.astropenguin.net/blog/layout-images/disc_s.png" , defaultArt = "/assets/layout-images/disc_s.png"
, handler = function () , handler = function ()
{ {
// Input fields // Input fields

View File

@ -215,7 +215,7 @@
} }
.ae_expand_btn, .ae_callapse_btn { .ae_expand_btn, .ae_callapse_btn {
background: url(http://file.astropenguin.net/blog/layout-images/collapse.png) center 2.5px no-repeat; background: url(/assets/layout-images/collapse.png) center 2.5px no-repeat;
width: 100%; width: 100%;
height: 10px; height: 10px;
} }

View File

@ -1,6 +1,8 @@
(function(){ (function(){
var ns = __namespace( "Astro.Blog.AstroEdit" ); var ns = __namespace( "Astro.Blog.AstroEdit" );
/** @type {System.utils} */
var utils = __import( "System.utils" );
/** @type {System.Cycle} */ /** @type {System.Cycle} */
var Cycle = __import( "System.Cycle" ); var Cycle = __import( "System.Cycle" );
/** @type {Dandelion} */ /** @type {Dandelion} */
@ -29,7 +31,7 @@
//// Component initializations //// Component initializations
/** @type {_AstConf_.AstroEdit} */ /** @type {_AstConf_.AstroEdit} */
var a_conf = Config.get( "AstroEdit" ); var a_conf = Config.get( "AstroEdit" );
var base_path = Config.get( "BasePath" ); var base_path = utils.siteProto( Config.get( "BasePath" ) );
Cycle.next( Cycle.next(
function() function()

View File

@ -24,8 +24,9 @@
text-decoration: none; text-decoration: none;
} }
.mega-entry .cCont > img { .mega-entry .cCont img {
position: absolute; position: absolute;
margin-top: -25%;
max-width: 100%; max-width: 100%;
} }
@ -97,17 +98,18 @@
.mega-entry .cCont > h2 { .mega-entry .cCont > h2 {
position: absolute; position: absolute;
font-family: custom-sans;
padding: 0 0.2em; padding: 0 0.2em;
text-shadow: 2px 2px 8px black; text-shadow: 2px 2px 8px black;
color: #DDD;
z-index: 1; z-index: 1;
} }
.cDate { .cDate {
padding: 0.2em; padding: 0.2em 0.5em;
font-size: 0.8em; font-size: 0.9em;
} }
.cEOF { .cEOF {
height: 10px; height: 10px;

View File

@ -100,7 +100,7 @@
} }
.nt_icon_settings { .nt_icon_settings {
background-image: url(http://file.astropenguin.net/blog/layout-images/settings.png); background-image: url(/assets/layout-images/settings.png);
padding-left: 25px !important; padding-left: 25px !important;
background-repeat: no-repeat; background-repeat: no-repeat;
} }

View File

@ -1,9 +1,13 @@
.section-buttons > a { .section-buttons > a {
display: inline-block; display: inline-block;
position: relative;
color: white; color: white;
margin: 0.5em 0.2em;
background-color: darkslategray; background-color: darkslategray;
margin: 0.5em 0.2em;
padding: 0.75em 0; padding: 0.75em 0;
opacity: 0.5; opacity: 0.5;
} }
@ -29,6 +33,20 @@
); );
} }
.section-buttons > a[data-name="lifestyle"] {
text-shadow: 1px 1px 1px black;
background-image:
repeating-linear-gradient(
-15deg
, orangered 0%, orangered 16.6%
, lawngreen 16.6%, lawngreen 33.2%
, turquoise 33.2%, turquoise 49.8%
, darkorchid 49.8%, darkorchid 66.6%
, violetred 66.6%, violetred 83.3%
, royalblue 83.3%, royalblue
);
}
.section-buttons > a > span { .section-buttons > a > span {
padding: 0.75em 0.5em; padding: 0.75em 0.5em;
} }

View File

@ -1,6 +1,6 @@
footer { footer {
background-color: #222; background-color: #222;
background-image: url(http://file.astropenguin.net/blog/layout-images/lines.png); background-image: url(/assets/layout-images/lines.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right bottom; background-position: right bottom;
} }

View File

@ -54,7 +54,7 @@ header {
-webkit-box-shadow: inset 0 0 10px 0 black; -webkit-box-shadow: inset 0 0 10px 0 black;
box-shadow: inset 0 0 10px 0 black; box-shadow: inset 0 0 10px 0 black;
background-image: url(http://file.astropenguin.net/blog/layout-images/home.png); background-image: url(/assets/layout-images/home.png);
background-position: 50% 90%; background-position: 50% 90%;
position: absolute; position: absolute;
overflow: hidden; overflow: hidden;
@ -80,7 +80,7 @@ header {
height: 100%; height: 100%;
width: 100%; width: 100%;
background-image: url(http://file.astropenguin.net/blog/layout-images/home-blur.png); background-image: url(/assets/layout-images/home-blur.png);
background-position: 50% 0; background-position: 50% 0;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -174,7 +174,7 @@ header {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background:url(http://file.astropenguin.net/blog/layout-images/collapse.png) center 2.5px no-repeat; background:url(/assets/layout-images/collapse.png) center 2.5px no-repeat;
} }
#collapse_panel:hover { #collapse_panel:hover {

View File

@ -58,9 +58,9 @@ html, body { height: 100%; }
height: 90px; height: 90px;
} }
.c401 { background: url(http://file.astropenguin.net/blog/layout-images/errorcodes.png) 0 0; } .c401 { background: url(/assets/layout-images/errorcodes.png) 0 0; }
.c403 { background: url(http://file.astropenguin.net/blog/layout-images/errorcodes.png) 200px 0; } .c403 { background: url(/assets/layout-images/errorcodes.png) 200px 0; }
.c404 { background: url(http://file.astropenguin.net/blog/layout-images/errorcodes.png) 0 90px; } .c404 { background: url(/assets/layout-images/errorcodes.png) 0 90px; }
.b401 { background: cornflowerblue; } .b401 { background: cornflowerblue; }
.b403 { background: crimson; } .b403 { background: crimson; }
@ -89,7 +89,7 @@ html, body { height: 100%; }
margin-left: -200px; margin-left: -200px;
margin-top: -200px; margin-top: -200px;
background: url(http://file.astropenguin.net/blog/layout-images/ring.png) center center no-repeat; background: url(/assets/layout-images/ring.png) center center no-repeat;
} }

View File

@ -2,7 +2,7 @@
@font-face{ @font-face{
font-family: custom-sans; font-family: custom-sans;
src: local("GIRegular"), src: local("GIRegular"),
url("http://file.astropenguin.net/blog/fonts/GI-Regular.woff") format("woff"), url("/assets/fonts/GI-Regular.woff") format("woff"),
local("Helvetica-Light"), local("Helvetica-Light"),
local("Avenir"), local("Avenir"),
local("Verdana"), local("Verdana"),
@ -15,8 +15,8 @@
@font-face{ @font-face{
font-family: custom-serif; font-family: custom-serif;
src: url("http://file.astropenguin.net/blog/fonts/DAYROM__/DAYROM__.woff") format("woff"), src: url("/assets/fonts/DAYROM__/DAYROM__.woff") format("woff"),
url("http://file.astropenguin.net/blog/fonts/DAYROM__/DAYROM__.svg") format("svg"), url("/assets/fonts/DAYROM__/DAYROM__.svg") format("svg"),
local("Palatino Linotype"), local("Palatino Linotype"),
local("Palatino"), local("Palatino"),
local("Georgia"), local("Georgia"),