Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
Ximper-Linux-Site
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
Ximper-Linux-Site
Commits
634d1d4e
Commit
634d1d4e
authored
Feb 18, 2025
by
Pavel Beketov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
animated style in desktop menu
parent
d8560037
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
styles.css
styles.css
+7
-3
No files found.
styles.css
View file @
634d1d4e
...
@@ -130,13 +130,17 @@ header {
...
@@ -130,13 +130,17 @@ header {
}
}
.header-menu
ul
li
a
{
.header-menu
ul
li
a
{
display
:
inline-block
;
color
:
#fff
;
color
:
#fff
;
text-decoration
:
none
;
text-decoration
:
none
;
font-size
:
16px
;
font-size
:
16px
;
padding
:
5px
10px
;
transition
:
background-color
0.3s
;
}
}
.header-menu
ul
li
a
:hover
{
.header-menu
ul
li
a
:hover
{
text-decoration
:
underline
;
background-color
:
var
(
--border
);
border-radius
:
5px
;
}
}
.header-right
{
.header-right
{
...
@@ -232,14 +236,14 @@ header h1 {
...
@@ -232,14 +236,14 @@ header h1 {
}
}
/* Скрываем обычное меню на мобильных устройствах */
/* Скрываем обычное меню на мобильных устройствах */
@media
(
max-width
:
76
8px
)
{
@media
(
max-width
:
80
8px
)
{
.header-center
{
.header-center
{
display
:
none
;
display
:
none
;
}
}
}
}
/* Скрытие кнопки меню на десктопе */
/* Скрытие кнопки меню на десктопе */
@media
(
min-width
:
76
9px
)
{
@media
(
min-width
:
80
9px
)
{
.menu-button
,
.menu-button
,
.mobile-menu
{
.mobile-menu
{
display
:
none
!important
;
display
:
none
!important
;
...
...
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