Skip to content

Commit

Permalink
Update CSS and JS in CleanBlog theme #15
Browse files Browse the repository at this point in the history
Move needed css for Wyam to a separate wyam.css
  • Loading branch information
savornicesei committed Aug 13, 2021
1 parent 243c520 commit b6687be
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 45 deletions.
1 change: 1 addition & 0 deletions themes/Blog/Phantom/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<link href="@Context.GetLink("/assets/css/highlight.css")" rel="stylesheet">
<link rel="stylesheet" href="@Context.GetLink("/assets/css/main.css")" />
<noscript><link rel="stylesheet" href="@Context.GetLink("/assets/css/noscript.css")" /></noscript>
<link href="@Context.GetLink("/assets/css/wyam.css")" rel="stylesheet" />
<link href="@Context.GetLink("/assets/css/override.css")" rel="stylesheet" />

<meta name="description" content="@Context.String(BlogKeys.Description)" />
Expand Down
30 changes: 0 additions & 30 deletions themes/Blog/Phantom/assets/css/override.css
Original file line number Diff line number Diff line change
@@ -1,30 +0,0 @@
/* pagination */
.pager {
margin: 20px 0 0;
padding-left: 0;
text-align: center;
list-style: none;
}

.pager li {
display: inline;
}

.pager .previous > a, .pager .previous > span {
float: left;
}

.pager .next > a, .pager .next > span {
float: right;
}

/* required for proper display of tags */
ul.actions.wrapped{
flex-wrap: wrap;
}

/* required for proper display of follow icons in footer */
ul.actions > li > .icon > .label
{
display: inherit;
}
30 changes: 30 additions & 0 deletions themes/Blog/Phantom/assets/css/wyam.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* pagination */
.pager {
margin: 20px 0 0;
padding-left: 0;
text-align: center;
list-style: none;
}

.pager li {
display: inline;
}

.pager .previous > a, .pager .previous > span {
float: left;
}

.pager .next > a, .pager .next > span {
float: right;
}

/* required for proper display of tags */
ul.actions.wrapped{
flex-wrap: wrap;
}

/* required for proper display of follow icons in footer */
ul.actions > li > .icon > .label
{
display: inherit;
}
1 change: 1 addition & 0 deletions themes/Blog/SolidState/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="@Context.GetLink("/assets/css/main.css")" />
<noscript><link rel="stylesheet" href="@Context.GetLink("/assets/css/noscript.css")" /></noscript>
<link rel="stylesheet" href="@Context.GetLink("/assets/css/wyam.css")" />
<link rel="stylesheet" href="@Context.GetLink("/assets/css/override.css")" />
@if(Model.ContainsKey(BlogKeys.Image))
{
Expand Down
5 changes: 0 additions & 5 deletions themes/Blog/SolidState/assets/css/override.css
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
/* required for proper display of follow icons in footer */
ul.actions > li > .icon > .label
{
display: inherit;
}
5 changes: 5 additions & 0 deletions themes/Blog/SolidState/assets/css/wyam.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* required for proper display of follow icons in footer */
ul.actions > li > .icon > .label
{
display: inherit;
}
1 change: 1 addition & 0 deletions themes/Blog/Stellar/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="@Context.GetLink("/assets/css/main.css")" />
<noscript><link rel="stylesheet" href="@Context.GetLink("assets/css/noscript.css")" /></noscript>
<link rel="stylesheet" href="@Context.GetLink("/assets/css/wyam.css")" />
<link rel="stylesheet" href="@Context.GetLink("/assets/css/override.css")" />

<meta name="description" content="@Context.String(BlogKeys.Description)" />
Expand Down
10 changes: 0 additions & 10 deletions themes/Blog/Stellar/assets/css/override.css
Original file line number Diff line number Diff line change
@@ -1,10 +0,0 @@
/* required for proper display of tags */
ul.actions.wrapped{
flex-wrap: wrap;
}

/* required for proper display of follow icons in footer */
ul.actions > li > .icon > .label
{
display: inherit;
}
10 changes: 10 additions & 0 deletions themes/Blog/Stellar/assets/css/wyam.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* required for proper display of tags */
ul.actions.wrapped{
flex-wrap: wrap;
}

/* required for proper display of follow icons in footer */
ul.actions > li > .icon > .label
{
display: inherit;
}

0 comments on commit b6687be

Please sign in to comment.