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
87a7cccc
Commit
87a7cccc
authored
Jul 15, 2024
by
Павел Бекетов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
styles.css: logo&name&menu in center
parent
a1ff41f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
14 deletions
+22
-14
styles.css
styles.css
+22
-14
No files found.
styles.css
View file @
87a7cccc
...
...
@@ -101,19 +101,34 @@ header h1 {
}
/* Медиа-запрос для мобильных устройств */
@media
(
max-width
:
768px
)
{
.header-left
{
margin-left
:
100px
;
margin-bottom
:
10px
;
@media
(
max-width
:
1080px
)
{
header
{
flex-direction
:
column
;
align-items
:
center
;
padding
:
10px
;
}
.header-center
{
.header-left
,
.header-center
,
.header-right
{
display
:
flex
;
justify-content
:
center
;
margin
:
10px
0
;
width
:
100%
;
text-align
:
center
;
}
.header-left
.logo
{
margin-right
:
0
;
margin-bottom
:
10px
;
}
.header-menu
ul
li
{
display
:
block
;
margin
:
10px
0
;
}
.header-right
{
text-align
:
center
;
margin-left
:
55px
;
margin-right
:
0
;
justify-content
:
center
;
}
}
...
...
@@ -363,10 +378,3 @@ footer {
margin-top
:
0
;
}
}
/* Дополнительный медиа-запрос для мобильных устройств с большим разрешением экрана (realme gt master edition) */
@media
(
max-width
:
1080px
)
and
(
max-height
:
2400px
)
{
.header-left
.logo
{
margin
:
0
auto
;
}
}
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