forked from Botanical/BotanJS
Https migrations
This commit is contained in:
parent
07ceb117da
commit
bd966f2fac
@ -3,6 +3,8 @@
|
||||
|
||||
/** @type {System.Cycle} */
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {System.utils} */
|
||||
var utils = __import( "System.utils" );
|
||||
/** @type {System.utils.EventKey} */
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
/** @type {System.Debug} */
|
||||
@ -112,7 +114,7 @@
|
||||
|
||||
/** @type {_AstConf_.AstroEdit} */
|
||||
var a_conf = Config.get( "AstroEdit" );
|
||||
var base_path = Config.get( "BasePath" );
|
||||
var base_path = utils.siteProto( Config.get( "BasePath" ) );
|
||||
|
||||
/*{{{ preview fields */
|
||||
var ae_p_fields = {
|
||||
|
@ -96,7 +96,7 @@
|
||||
}
|
||||
|
||||
.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-repeat: no-repeat;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@
|
||||
var sound = function (insertSnippet, snippetWrap, createContext, override)
|
||||
{
|
||||
var temp, i, j
|
||||
, defaultArt = "http://file.astropenguin.net/blog/layout-images/disc_s.png"
|
||||
, defaultArt = "/assets/layout-images/disc_s.png"
|
||||
, handler = function ()
|
||||
{
|
||||
// Input fields
|
||||
|
@ -215,7 +215,7 @@
|
||||
}
|
||||
|
||||
.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%;
|
||||
height: 10px;
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
(function(){
|
||||
var ns = __namespace( "Astro.Blog.AstroEdit" );
|
||||
|
||||
/** @type {System.utils} */
|
||||
var utils = __import( "System.utils" );
|
||||
/** @type {System.Cycle} */
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {Dandelion} */
|
||||
@ -29,7 +31,7 @@
|
||||
//// Component initializations
|
||||
/** @type {_AstConf_.AstroEdit} */
|
||||
var a_conf = Config.get( "AstroEdit" );
|
||||
var base_path = Config.get( "BasePath" );
|
||||
var base_path = utils.siteProto( Config.get( "BasePath" ) );
|
||||
|
||||
Cycle.next(
|
||||
function()
|
||||
|
@ -24,8 +24,9 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mega-entry .cCont > img {
|
||||
.mega-entry .cCont img {
|
||||
position: absolute;
|
||||
margin-top: -25%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@ -97,17 +98,18 @@
|
||||
|
||||
.mega-entry .cCont > h2 {
|
||||
position: absolute;
|
||||
|
||||
font-family: custom-sans;
|
||||
|
||||
padding: 0 0.2em;
|
||||
text-shadow: 2px 2px 8px black;
|
||||
|
||||
color: #DDD;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.cDate {
|
||||
padding: 0.2em;
|
||||
font-size: 0.8em;
|
||||
padding: 0.2em 0.5em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.cEOF {
|
||||
height: 10px;
|
||||
|
@ -100,7 +100,7 @@
|
||||
}
|
||||
|
||||
.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;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
@ -1,9 +1,13 @@
|
||||
.section-buttons > a {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
color: white;
|
||||
margin: 0.5em 0.2em;
|
||||
background-color: darkslategray;
|
||||
|
||||
margin: 0.5em 0.2em;
|
||||
padding: 0.75em 0;
|
||||
|
||||
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 {
|
||||
padding: 0.75em 0.5em;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
footer {
|
||||
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-position: right bottom;
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ header {
|
||||
-webkit-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%;
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
@ -80,7 +80,7 @@ header {
|
||||
height: 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-repeat: no-repeat;
|
||||
|
||||
@ -174,7 +174,7 @@ header {
|
||||
left: 0;
|
||||
width: 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 {
|
||||
|
@ -58,9 +58,9 @@ html, body { height: 100%; }
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.c401 { background: url(http://file.astropenguin.net/blog/layout-images/errorcodes.png) 0 0; }
|
||||
.c403 { background: url(http://file.astropenguin.net/blog/layout-images/errorcodes.png) 200px 0; }
|
||||
.c404 { background: url(http://file.astropenguin.net/blog/layout-images/errorcodes.png) 0 90px; }
|
||||
.c401 { background: url(/assets/layout-images/errorcodes.png) 0 0; }
|
||||
.c403 { background: url(/assets/layout-images/errorcodes.png) 200px 0; }
|
||||
.c404 { background: url(/assets/layout-images/errorcodes.png) 0 90px; }
|
||||
|
||||
.b401 { background: cornflowerblue; }
|
||||
.b403 { background: crimson; }
|
||||
@ -89,11 +89,11 @@ html, body { height: 100%; }
|
||||
margin-left: -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;
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font-family: sans-serif;
|
||||
font-size: 4em;
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
@font-face{
|
||||
font-family: custom-sans;
|
||||
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("Avenir"),
|
||||
local("Verdana"),
|
||||
@ -15,8 +15,8 @@
|
||||
|
||||
@font-face{
|
||||
font-family: custom-serif;
|
||||
src: url("http://file.astropenguin.net/blog/fonts/DAYROM__/DAYROM__.woff") format("woff"),
|
||||
url("http://file.astropenguin.net/blog/fonts/DAYROM__/DAYROM__.svg") format("svg"),
|
||||
src: url("/assets/fonts/DAYROM__/DAYROM__.woff") format("woff"),
|
||||
url("/assets/fonts/DAYROM__/DAYROM__.svg") format("svg"),
|
||||
local("Palatino Linotype"),
|
||||
local("Palatino"),
|
||||
local("Georgia"),
|
||||
|
Loading…
Reference in New Issue
Block a user