Current version
This commit is contained in:
parent
33a412cb95
commit
aab343c7b5
13 changed files with 376 additions and 12 deletions
235
static/css/style.css
Normal file
235
static/css/style.css
Normal file
|
@ -0,0 +1,235 @@
|
||||||
|
.actions a {
|
||||||
|
color: white !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions a:hover {
|
||||||
|
color: white !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav li {
|
||||||
|
list-style-type: none;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #58d062 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #575757 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-primary {
|
||||||
|
color: #57d062!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cust-nav {
|
||||||
|
font-family: Montserrat, sans-serif;
|
||||||
|
}
|
||||||
|
.con-num {
|
||||||
|
text-align: center;
|
||||||
|
width: 40px;
|
||||||
|
min-height: 40px;
|
||||||
|
min-width: 40px;
|
||||||
|
-webkit-border-radius: 20px;
|
||||||
|
-moz-border-radius: 20px;
|
||||||
|
border-radius: 20px;
|
||||||
|
background-color: #58d062;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nummerierung {
|
||||||
|
color: white;
|
||||||
|
font-size: 25px;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.beschr {
|
||||||
|
margin-top: 5px;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
height: 30%;
|
||||||
|
min-height: 30%;
|
||||||
|
/*max-height: 300px;*/
|
||||||
|
padding-top: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
|
padding-left: 15px;
|
||||||
|
-webkit-border-radius: 20px;
|
||||||
|
-moz-border-radius: 20px;
|
||||||
|
border-radius: 20px;
|
||||||
|
max-width: 500px;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.feature-obj {
|
||||||
|
max-width: 25%;
|
||||||
|
min-width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-enthalten {
|
||||||
|
font-size: 19px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
margin-top: 8px;
|
||||||
|
border-left: 2px solid #58d062;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.statement {
|
||||||
|
font-style: normal !important;
|
||||||
|
font-family: 'Roboto Slab', serif !important;
|
||||||
|
color: rgb(88,208,98) !important;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.feature-obj {
|
||||||
|
max-width: 25%;
|
||||||
|
min-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-enthalten {
|
||||||
|
font-size: 19px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
margin-top: 8px;
|
||||||
|
border-left: 2px solid #58d062;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.statement {
|
||||||
|
font-style: normal !important;
|
||||||
|
font-family: 'Roboto Slab', serif !important;
|
||||||
|
color: rgb(88,208,98) !important;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 1024px) {
|
||||||
|
#header-notebook {Â
|
||||||
|
display: none;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.col-prod {
|
||||||
|
width: 200px;
|
||||||
|
min-width: 200px;
|
||||||
|
max-width: 250px;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.div-prod {
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
padding: 8px;
|
||||||
|
-webkit-border-radius: 10px;
|
||||||
|
-moz-border-radius: 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
header > .container {
|
||||||
|
margin-bottom: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav > .container {
|
||||||
|
margin-bottom: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
margin-bottom: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer span.copyright,
|
||||||
|
footer ul.quicklinks {
|
||||||
|
font-size:90%;
|
||||||
|
line-height:1;
|
||||||
|
text-transform:none;
|
||||||
|
font-family:Montserrat,Helvetica Neue,Helvetica,Arial,sans-serif
|
||||||
|
}
|
||||||
|
footer ul.quicklinks,
|
||||||
|
ul.social-buttons {
|
||||||
|
margin-bottom:0
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
padding:25px 0;
|
||||||
|
text-align:center
|
||||||
|
}
|
||||||
|
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration:none;
|
||||||
|
background-color:transparent;
|
||||||
|
-webkit-text-decoration-skip:objects
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-muted {
|
||||||
|
margin-left: 4em;
|
||||||
|
margin-right: 4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead {
|
||||||
|
text-align:center;
|
||||||
|
color:#fff;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
background-attachment:scroll;
|
||||||
|
background-position:50%;
|
||||||
|
background-size:cover
|
||||||
|
}
|
||||||
|
header.masthead .intro-text {
|
||||||
|
padding-top:150px;
|
||||||
|
padding-bottom:100px
|
||||||
|
}
|
||||||
|
header.masthead .intro-text .intro-lead-in {
|
||||||
|
font-size:22px;
|
||||||
|
font-style:italic;
|
||||||
|
line-height:22px;
|
||||||
|
margin-bottom:25px;
|
||||||
|
font-family:Droid Serif,Helvetica Neue,Helvetica,Arial,sans-serif
|
||||||
|
}
|
||||||
|
header.masthead .intro-text .intro-heading {
|
||||||
|
font-size:50px;
|
||||||
|
font-weight:700;
|
||||||
|
line-height:50px;
|
||||||
|
margin-bottom:25px;
|
||||||
|
font-family:Montserrat,Helvetica Neue,Helvetica,Arial,sans-serif
|
||||||
|
}
|
||||||
|
@media (min-width:768px) {
|
||||||
|
header.masthead .intro-text {
|
||||||
|
padding-top:300px;
|
||||||
|
padding-bottom:200px
|
||||||
|
}
|
||||||
|
header.masthead .intro-text .intro-lead-in {
|
||||||
|
font-size:40px;
|
||||||
|
font-style:italic;
|
||||||
|
line-height:40px;
|
||||||
|
margin-bottom:25px;
|
||||||
|
font-family:Droid Serif,Helvetica Neue,Helvetica,Arial,sans-serif
|
||||||
|
}
|
||||||
|
header.masthead .intro-text .intro-heading {
|
||||||
|
font-size:75px;
|
||||||
|
font-weight:700;
|
||||||
|
line-height:75px;
|
||||||
|
margin-bottom:50px;
|
||||||
|
font-family:Montserrat,Helvetica Neue,Helvetica,Arial,sans-serif
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.service-heading {
|
||||||
|
margin:15px 0;
|
||||||
|
text-transform:none
|
||||||
|
}
|
||||||
|
|
||||||
|
.col-md-6 {
|
||||||
|
margin-bottom: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
html.cms-toolbar-expanded .navbar {
|
||||||
|
margin-top: 35px !important;
|
||||||
|
}
|
6
static/dist/css/bootstrap.min.css
vendored
Normal file
6
static/dist/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/dist/css/bootstrap.min.css.map
vendored
Normal file
1
static/dist/css/bootstrap.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
static/dist/js/bootstrap.bundle.min.js
vendored
Normal file
7
static/dist/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/dist/js/bootstrap.bundle.min.js.map
vendored
Normal file
1
static/dist/js/bootstrap.bundle.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
2
static/dist/js/jquery.min.js
vendored
Normal file
2
static/dist/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/dist/js/jquery.min.js.map
vendored
Normal file
1
static/dist/js/jquery.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
static/js/main.js
Normal file
7
static/js/main.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#language-chooser').change(function() {
|
||||||
|
window.location.href = $(this)
|
||||||
|
.find('option:selected')
|
||||||
|
.attr('data-url')
|
||||||
|
});
|
||||||
|
});
|
78
templates/base.html
Normal file
78
templates/base.html
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
{% load static cms_tags sekizai_tags menu_tags %}
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{% static "dist/css/bootstrap.min.css" %}">
|
||||||
|
<link rel="stylesheet" href="https://fontproxy.kumi.systems/css?family=Montserrat:400,700">
|
||||||
|
<link rel="stylesheet" href="https://fontproxy.kumi.systems/css?family=Kaushan+Script">
|
||||||
|
<link rel="stylesheet" href="https://fontproxy.kumi.systems/css?family=Droid+Serif:400,700,400italic,700italic">
|
||||||
|
<link rel="stylesheet" href="https://fontproxy.kumi.systems/css?family=Roboto+Slab:400,100,300,700">
|
||||||
|
<link rel="stylesheet" href="https://fa.kumi.systems/css/all.min.css">
|
||||||
|
<link rel="stylesheet" href="{% static "css/style.css" %}">
|
||||||
|
|
||||||
|
<title>{% page_attribute "page_title" %} – {% static_placeholder "site_title" or %}Kumi Systems{% endstatic_placeholder %}</title>
|
||||||
|
|
||||||
|
{% render_block "css" %}
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="page-top" style="color: rgb(87,87,87);">
|
||||||
|
{% cms_toolbar %}
|
||||||
|
|
||||||
|
<nav class="navbar navbar-light navbar-expand-md fixed-top" style="background-color: rgba(255,255,255,1)!important;">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<ul class="navbar-nav mr-auto">
|
||||||
|
<a class="navbar-brand" href="/" style="min-width: 130px;min-height: 50px;background-image: url('https://kumi.systems/wp-content/uploads/2020/12/cropped-schrift_logo.png');background-size: contain;background-repeat: no-repeat;"></a>
|
||||||
|
<ul id="menu-header" class="nav navbar-nav mr-auto">
|
||||||
|
{% show_menu 0 100 100 100 "navbar-menu.html" %}
|
||||||
|
</ul>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="navbar-nav ml-auto">
|
||||||
|
<div class="collapse navbar-collapse" id="navcol-1">
|
||||||
|
<span class="navbar-text actions">
|
||||||
|
{% static_placeholder "navbar_actions" %}
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
</ul></div>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% block header %}{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
<section style="padding-top: 5%;" class="page type-page status-publish hentry">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12 text-center">
|
||||||
|
<h2 class="text-uppercase section-heading" style="margin-bottom: -2px;">{% page_attribute "page_title" %}</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
{% placeholder "content" %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
{% static_placeholder "footer" %}
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<script src="{% static "dist/js/bootstrap.bundle.min.js" %}"></script>
|
||||||
|
<script src="{% static "dist/js/jquery.min.js" %}"></script>
|
||||||
|
{% render_block "js" %}
|
||||||
|
<script src="{% static "js/main.js" %}"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
1
templates/default.html
Normal file
1
templates/default.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% extends "base.html" %}
|
|
@ -1,12 +1,14 @@
|
||||||
{% load cms_tags sekizai_tags %}
|
{% extends "base.html" %}
|
||||||
<html>
|
{% load cms_tags %}
|
||||||
<head>
|
{% block header %}
|
||||||
<title>{% page_attribute "page_title" %}</title>
|
|
||||||
{% render_block "css" %}
|
<header class="masthead" style="background-color: #e4e4e4;background-image: url('https://kumi.systems/wp-content/themes/kumipress/assets/img/oben-header.jpg');background-position: center;">
|
||||||
</head>
|
<div class="container container-header">
|
||||||
<body>
|
<div class="intro-text" style="padding-top: 250px;">
|
||||||
{% cms_toolbar %}
|
{% static_placeholder "header_claim" %}
|
||||||
{% placeholder "content" %}
|
</div>
|
||||||
{% render_block "js" %}
|
</div>
|
||||||
</body>
|
</div>
|
||||||
</html>
|
</header>
|
||||||
|
|
||||||
|
{% endblock %}
|
11
templates/language-menu.html
Normal file
11
templates/language-menu.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{% load i18n menu_tags %}
|
||||||
|
|
||||||
|
{% if languages|length > 1 %}
|
||||||
|
<select id="language-chooser" style="width: auto; display: inline-block;" class="form-select form-select-sm" aria-label="Default select example">
|
||||||
|
{% for language in languages %}
|
||||||
|
<option value="{{ language.0 }}" data-url="{% page_language_url language.0 %}" {% if current_language == language.0 %}selected="selected"{% endif %} class="lang{% if current_language == language.0 %} active{% endif %}">
|
||||||
|
{{ language.1 }}
|
||||||
|
</option>
|
||||||
|
{% endfor %}
|
||||||
|
</select>
|
||||||
|
{% endif %}
|
12
templates/navbar-menu.html
Normal file
12
templates/navbar-menu.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{% load menu_tags %}
|
||||||
|
|
||||||
|
{% for child in children %}
|
||||||
|
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-47 nav-item js-scroll-trigger nav-link cust-nav">
|
||||||
|
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a>
|
||||||
|
{% if child.children %}
|
||||||
|
<ul>
|
||||||
|
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
Loading…
Reference in a new issue