1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 10:51:21 +02:00

Flextype Core: Default Theme #165

- look and feel updates
This commit is contained in:
Awilum
2019-07-01 14:20:28 +03:00
parent 6f4de3da1a
commit a52c2fb04c
4 changed files with 26 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ p,
select,
textarea {
font-family: $base-font-family;
font-weight: 400;
font-weight: 300;
color: black;
}
@@ -51,4 +51,6 @@ pre {
h1 {
font-size: 60px;
margin-top: 20px;
margin-bottom: 30px;
}

View File

@@ -5,23 +5,28 @@
//
// Base
//
$base-font-family: Helvetica, arial, sans-serif;
$base-font-color: #606060;
$base-font-size: 16px;
$base-line-height: 24px;
$base-font-family: 'Roboto', sans-serif;
$base-font-color: #606060;
$base-font-size: 16px;
$base-line-height: 24px;
//
// Colors Grayscale
//
$black: #000000;
$gray-darkest: lighten($black, 13.5%); // #222222
$gray-darker: lighten($black, 26.5%); // #444444
$gray-dark: lighten($black, 46.7%); // #777777
$gray: lighten($black, 66.5%); // #aaaaaa
$gray-light: lighten($black, 87%); // #dedede
$gray-lighter: lighten($black, 93.75%); // #efefef
$black: #000000;
$gray-darkest: lighten($black, 13.5%);
// #222222
$gray-darker: lighten($black, 26.5%);
// #444444
$gray-dark: lighten($black, 46.7%);
// #777777
$gray: lighten($black, 66.5%);
// #aaaaaa
$gray-light: lighten($black, 87%);
// #dedede
$gray-lighter: lighten($black, 93.75%); // #efefef
$gray-lightest: lighten($black, 97.25%); // #f8f8f8
$white: #ffffff;
$white: #ffffff;
//
// Scaffolding
@@ -32,4 +37,4 @@ $body-bg: #f2f4f5;
// Spacing
//
$base-spacing-unit: $base-font-size;
$half-spacing-unit: $base-spacing-unit / 2;
$half-spacing-unit: $base-spacing-unit / 2;

View File

@@ -1,6 +1,10 @@
{% extends "themes/default/templates/partials/base.html" %}
{% block content %}
<h1>{{ entry.title }}</h1>
{{ entry.content|shortcode|raw}}
<img src="{{ base_url() }}/image/{{ entry.slug }}/{{ entry.image }}?w=670&dpr=2" alt="">
{% endblock %}

View File

@@ -13,7 +13,7 @@
<title>{% if entry.title %}{{ entry.title|e('html') }} | {% endif %}{{ registry.settings.title|e('html') }}</title>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet">
{% set bootstrap = base_url() ~ '/site/themes/' ~ registry.settings.theme ~ '/assets/dist/css/bootstrap.min.css' %}
{% set default = base_url() ~ '/site/themes/' ~ registry.settings.theme ~ '/assets/dist/css/default.min.css' %}