completed transitioning from static HTML&CSS-only website to Ghost CMS.

next step is to readapt the style to be more "content-friendly".
This commit is contained in:
Bea 2020-08-12 15:03:22 +02:00
parent c64c2985ad
commit eb6304aab2
4 changed files with 99 additions and 104 deletions

View File

@ -6,7 +6,7 @@ html, body {
} }
.navbar { .navbar {
padding-top: 30px; padding-top: 20px;
} }
h1 { h1 {
@ -69,16 +69,6 @@ h1 {
padding-bottom: 20px; padding-bottom: 20px;
} }
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
li {
padding: 16px;
}
/* COLORED TEXT SELECTION */ /* COLORED TEXT SELECTION */
::selection { ::selection {
color: #2d0670; color: #2d0670;
@ -112,7 +102,6 @@ li {
} }
.navbar a { .navbar a {
font-size: 10px; font-size: 10px;
padding: 4px;
} }
li { li {
padding: 5px; padding: 5px;
@ -137,7 +126,6 @@ li {
} }
.navbar a { .navbar a {
font-size: 11px; font-size: 11px;
padding: 8px;
} }
li { li {
padding: 6px; padding: 6px;
@ -162,7 +150,6 @@ li {
} }
.navbar a { .navbar a {
font-size: 16px; font-size: 16px;
padding: 8px;
} }
li { li {
padding: 8px; padding: 8px;
@ -187,7 +174,6 @@ li {
} }
.navbar a { .navbar a {
font-size: 21px; font-size: 21px;
padding: 8px;
} }
li { li {
padding: 10px; padding: 10px;
@ -209,7 +195,6 @@ li {
} }
.navbar a { .navbar a {
font-size: 26px; font-size: 26px;
padding: 8px;
} }
li { li {
padding: 13px; padding: 13px;

View File

@ -49,7 +49,6 @@ h4 {
a { a {
text-decoration: none; text-decoration: none;
color: paleturquoise; color: paleturquoise;
position: relative;
} }
.nav { .nav {
@ -64,6 +63,8 @@ a {
text-transform: uppercase; text-transform: uppercase;
text-decoration: none; text-decoration: none;
overflow: hidden; overflow: hidden;
/* Disable text selection */
-moz-user-select: none; -moz-user-select: none;
-webkis-user-select: none; -webkis-user-select: none;
-ms-user-select: none; -ms-user-select: none;
@ -71,20 +72,19 @@ a {
-o-user-select: none; -o-user-select: none;
} }
.navbar a { .navbar li {
color: white; display: inline-block;
} }
.navbar a {
.navbar ul li {
color: white; color: white;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
padding: 14px;
font-size: 30px; font-size: 30px;
font-family: 'Oswald', sans-serif; font-family: 'Oswald', sans-serif;
font-weight: 300; font-weight: 300;
display: inline; margin: 0;
padding: 10px;
} }
.navbar li.nav-services { .navbar li.nav-services {
@ -113,10 +113,10 @@ a {
box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2); box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2);
/* Disable text highlighting */ /* Disable text highlighting */
user-select: none;
-moz-user-select: none; -moz-user-select: none;
-webkis-user-select: none; -webkis-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none;
-o-user-select: none; -o-user-select: none;
/* Size */ /* Size */
@ -162,6 +162,7 @@ a {
/* End policy popup */ /* End policy popup */
/* Begin Ghost mandatory CSS */
.kg-width-wide { .kg-width-wide {
} }
@ -221,6 +222,8 @@ a {
.kg-bookmark-thumbnail { .kg-bookmark-thumbnail {
} }
/* End Ghost mandatory CSS */
/* Begin media queries for elements size */ /* Begin media queries for elements size */
@media (min-width: 0px) and (max-width:200px) { @media (min-width: 0px) and (max-width:200px) {

View File

@ -6,6 +6,13 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" /> <link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
<!-- Scripts Begin -->
<script src="{{asset "js/jquery-3.5.1.js"}}"></script>
<script src="{{asset "js/policy-popup.js"}}"></script>
<!-- Scripts End -->
{{#is "post, page"}} {{#is "post, page"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/page-style.css"}}" /> <link rel="stylesheet" type="text/css" href="{{asset "css/page-style.css"}}" />
@ -22,11 +29,6 @@
<link rel="stylesheet" type="text/css" href="{{asset "css/home-style.css"}}" /> <link rel="stylesheet" type="text/css" href="{{asset "css/home-style.css"}}" />
{{/is}} {{/is}}
<!-- Scripts Begin -->
<script src="{{asset "js/jquery-3.5.1.js"}}"></script>
<script src="{{asset "js/policy-popup.js"}}"></script>
<!-- Scripts End -->
{{ghost_head}} {{ghost_head}}
{{!-- Outputs important meta data and settings, should always be in <head> --}} {{!-- Outputs important meta data and settings, should always be in <head> --}}

View File

@ -7,6 +7,11 @@
</div> </div>
</div> </div>
{{#post}}
<div class="mind-content">
{{content}}
</div>
{{/post}}
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile --> <!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
<script> <script>