mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-17 02:10:45 +02:00
cleanup homepage add initial css
This commit is contained in:
30
foundation/templates/base.html
Normal file
30
foundation/templates/base.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- Built on Frappe. https://frappe.io/ -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %} {{ title | striptags }} {% endblock %}</title>
|
||||
<meta name="generator" content="frappe">
|
||||
{% block favicon %}
|
||||
<link rel="shortcut icon"
|
||||
href="{{ (favicon or "/assets/frappe/images/favicon.png") | abs_url }}"
|
||||
type="image/x-icon">
|
||||
<link rel="icon"
|
||||
href="{{ (favicon or "/assets/frappe/images/favicon.png") | abs_url }}"
|
||||
type="image/x-icon">
|
||||
{% endblock %}
|
||||
{%- block head -%}
|
||||
{% block meta_block %}{% endblock %}
|
||||
<link href="assets/foundation/css/erpnext-org-theme.css" rel="stylesheet">
|
||||
{%- endblock -%}
|
||||
</head>
|
||||
<body data-path="{{ path }}">
|
||||
<div class="wrapper">
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
{% endblock %}
|
||||
{%- block footer -%}{% include "foundation/templates/includes/footer/footer.html" %}{%- endblock -%}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,152 +0,0 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Rubik');
|
||||
body {
|
||||
font-family: 'Rubik', sans-serif;
|
||||
font-size: 15px;
|
||||
color: #161c23;
|
||||
text-rendering: optimizeLegibility !important;
|
||||
line-height: 1.5em;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 10px 0px;
|
||||
}
|
||||
|
||||
section:last-child {
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
section p, section li, section .media-body {
|
||||
font-size: 15px;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.page_content {
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.conf-hero {
|
||||
padding: 90px 0px;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-weight: normal;
|
||||
background-color: #d1d8dd;
|
||||
font-size: 13px;
|
||||
padding: 3px 7px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.web-footer {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
.footer-bottom-line .text-muted {
|
||||
font-size: 15px;
|
||||
color: #161c23 !important;
|
||||
}
|
||||
|
||||
.row-full{
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
margin-left: -50vw;
|
||||
margin-top: 0px;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.with-border {
|
||||
border: 1px solid #d1d8dd;
|
||||
border-radius: 3px;
|
||||
padding: 15px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.with-border h3 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #5E64FF;
|
||||
}
|
||||
|
||||
.clickable a {
|
||||
color: #161c23;
|
||||
}
|
||||
|
||||
.with-border.clickable:hover {
|
||||
border-color: #36414C;
|
||||
background-color: #fafbfc;
|
||||
|
||||
}
|
||||
|
||||
.with-border a, .with-border a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.web-footer {
|
||||
background-color: #fafbfc;
|
||||
border-top: 4px solid #d1d8dd;
|
||||
padding-bottom: 0px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.web-footer {
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-group-label, .navbar-brand {
|
||||
color: #161c23 !important;
|
||||
}
|
||||
|
||||
.web-footer .col-sm-6:first-child {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.web-footer .col-sm-6:last-child {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
/*#website-post-login {
|
||||
display: none !important;
|
||||
}
|
||||
*/
|
||||
.silver-member {
|
||||
padding: 0px 15px;
|
||||
min-height: 205px;
|
||||
}
|
||||
|
||||
.page-breadcrumbs .breadcrumb {
|
||||
margin-bottom: 10px;
|
||||
font-size: 15px;
|
||||
/*color: #8D99A6;*/
|
||||
}
|
||||
|
||||
.full-name {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sponsor {
|
||||
height: 200px;
|
||||
margin-top: 30px;
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
border: 1px solid #d1d8dd;
|
||||
border-radius: 3px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.sponsor .lead {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.sponsor img {
|
||||
max-width: 150px;
|
||||
}
|
||||
@@ -24,7 +24,6 @@
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="social">
|
||||
<p>Find us on
|
||||
<a class="underline" href="https://twitter.com/erpnext"
|
||||
Reference in New Issue
Block a user