13 Commits
2.1.0 ... 2.2.0

Author SHA1 Message Date
e0845e2ef1 added colors.css 2024-12-16 17:08:39 +07:00
5c0f1815c0 created colors.css 2024-12-16 17:07:28 +07:00
6a4cfb8e2f deleted EOL 2024-12-16 17:05:44 +07:00
7ddf05ead3 Обновить author/project/system/public/css/themes/default/system.css 2024-12-16 17:04:53 +07:00
b6d2725848 separated 2024-12-16 17:04:30 +07:00
3a2e102e11 created footer.css 2024-12-16 17:04:01 +07:00
3aa8936fc5 created aside.css 2024-12-16 17:03:32 +07:00
3af08b07ed created header.css 2024-12-16 17:03:13 +07:00
4f4d31b64a created system.css 2024-12-16 17:02:39 +07:00
c0515a4171 separating main.css 2024-12-16 16:59:26 +07:00
02d1350982 {{ theme }} 2024-12-16 16:54:55 +07:00
37ae0546fd INDEX to PUBLIC 2024-12-16 15:52:52 +07:00
0510dca375 removed dublicate 2024-12-16 15:52:20 +07:00
8 changed files with 94 additions and 46 deletions

View File

@@ -0,0 +1,4 @@
@charset "UTF-8";
aside {
}

View File

@@ -0,0 +1,37 @@
@charset "UTF-8";
@media (prefers-color-scheme: dark) {
:root {
--text-color: initial;
--text-color-hover: initial;
--text-color-active: initial;
--text-notice-color: initial;
--text-warning-color: initial;
--text-selected-color: initial;
--text-selected-background-color: initial;
--link-color: initial;
--link-color-hover: initial;
--link-color-active: initial;
color: var(--text-color);
}
}
@media (prefers-color-scheme: light) {
:root {
--text-color: initial;
--text-color-hover: initial;
--text-color-active: initial;
--text-notice-color: initial;
--text-warning-color: initial;
--text-selected-color: initial;
--text-selected-background-color: initial;
--link-color: initial;
--link-color-hover: initial;
--link-color-active: initial;
color: var(--text-color);
}
}

View File

@@ -0,0 +1,4 @@
@charset "UTF-8";
footer {
}

View File

@@ -0,0 +1,4 @@
@charset "UTF-8";
header {
}

View File

@@ -1,46 +1,9 @@
@charset "UTF-8";
* {
text-decoration: none;
outline: none;
border: none;
/* font-family: , system-ui, sans-serif; */
font-family: "dejavu";
transition: 0.1s ease-out;
}
body {
margin: 0;
min-height: 100vh;
padding: 0;
display: flex;
flex-direction: column;
background-color: var(--background, #fafafa);
}
aside {
}
header {
}
main {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
gap: var(--gap);
transition: 0s;
}
footer {
}
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
}

View File

@@ -0,0 +1,34 @@
@charset "UTF-8";
:root {
--gap: min(12px, 1rem);
/* font-family: , system-ui, sans-serif; */
font-family: "dejavu";
text-decoration: none;
outline: none;
border: none;
transition: 0.1s ease-out;
}
/* Selection */
::selection {
color: var(--text-selected-color);
background: var(--text-selected-background-color);
}
::-moz-selection {
color: var(--text-selected-color);
background: var(--text-selected-background-color);
}
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

View File

@@ -17,14 +17,11 @@ ini_set('display_startup_errors', 1); */
define('PUBLIC', __DIR__);
// Initializing path to the project root directory
define('ROOT', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR);
define('ROOT', PUBLIC . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR);
// Initializing path to the directory of views
define('VIEWS', realpath('..' . DIRECTORY_SEPARATOR . 'views'));
// Initializing path to the directory of storage
define('STORAGE', realpath('..' . DIRECTORY_SEPARATOR . 'storage'));
// Initializing path to the directory of settings
define('SETTINGS', realpath('..' . DIRECTORY_SEPARATOR . 'settings'));

View File

@@ -1,15 +1,20 @@
{% block title %}
<title>{% if head.title != empty %}{{head.title}}{% else %}${REPO_NAME} by ${REPO_OWNER}{% endif %}</title>
<title>{% if head.title != empty %}{{ head.title }}{% else %}${REPO_NAME} by ${REPO_OWNER}{% endif %}</title>
{% endblock %}
{% block meta %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% for meta in head.metas %}
<meta {% for name, value in meta.attributes %}{{name}}="{{value}}" {% endfor %}>
<meta {% for name, value in meta.attributes %}{{ name }}="{{ value }}" {% endfor %}>
{% endfor %}
{% endblock %}
{% block css %}
<link type="text/css" rel="stylesheet" href="/css/themes/default/main.css" />
<link type="text/css" rel="stylesheet" href="/css/themes/{{ theme }}/system.css" />
<link type="text/css" rel="stylesheet" href="/css/themes/{{ theme }}/header.css" />
<link type="text/css" rel="stylesheet" href="/css/themes/{{ theme }}/main.css" />
<link type="text/css" rel="stylesheet" href="/css/themes/{{ theme }}/aside.css" />
<link type="text/css" rel="stylesheet" href="/css/themes/{{ theme }}/footer.css" />
<link type="text/css" rel="stylesheet" href="/css/themes/{{ theme }}/colors.css" />
{% endblock %}