Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
archivarius
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andrey Kuvshinov
archivarius
Commits
daa21290
Commit
daa21290
authored
Oct 08, 2024
by
AK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mainmenu
parent
4301a1be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
main.css
frontend/styles/main.css
+20
-0
main.php
main.php
+14
-2
No files found.
frontend/styles/main.css
View file @
daa21290
...
...
@@ -161,6 +161,26 @@ a:hover {
margin-bottom
:
12px
;
}
.mainmenu
{
display
:
flex
;
gap
:
12px
;
font-weight
:
bold
;
font-size
:
1rem
;
}
.mobailmainmenu
{
display
:
flex
;
flex-direction
:
column
;
gap
:
12px
;
font-weight
:
bold
;
font-size
:
1rem
;
}
.wikilink2
{
font-size
:
1rem
;
}
/* Футер */
footer
{
...
...
main.php
View file @
daa21290
...
...
@@ -34,7 +34,12 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
<?
include
(
'partials/searchform.php'
);
?>
</div>
<nav
class=
"desk"
>
<a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'about'
]);
?>
"
>
О проекте
</a>
<ul
class=
"mainmenu"
>
<li><a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'documenty:dokumenty_rpc'
]);
?>
"
>
Документы
</a></li>
<li><a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'kanony:kanonicheskoe_pravo'
]);
?>
"
>
Право
</a></li>
<li><a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'about'
]);
?>
"
>
О
проекте
</a></li>
</ul>
</nav>
<div
class=
"local-nav desk"
>
...
...
@@ -100,7 +105,12 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
<?
include
(
'partials/searchform.php'
);
?>
<nav>
<a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'about'
]);
?>
"
>
О проекте
</a>
<ul
class=
"mobailmainmenu"
>
<li><a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'documenty:dokumenty_rpc'
]);
?>
"
>
Документы
</a></li>
<li><a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'kanony:kanonicheskoe_pravo'
]);
?>
"
>
Право
</a></li>
<li><a
class=
"button"
href=
"
<?php
echo
wl
(
''
,
[
'id'
=>
'about'
]);
?>
"
>
О
проекте
</a></li>
</ul>
</nav>
<?
include
(
'partials/mobilemenu.php'
);
?>
...
...
@@ -127,6 +137,8 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
<a
name=
"dokuwiki__top"
id=
"dokuwiki__top"
></a>
<main
class=
"wrapper container"
>
<?
//=$ID?>
<
section
class
="
content
">
<div class="
breadcrumbs
"><?php tpl_breadcrumbs()?></div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment