Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit f0fb002

Browse files
authored
Merge pull request #56 from os2git/css-menu-fix-medium-screens
Css menu fix medium screens
2 parents 5c4685e + ab8b976 commit f0fb002

File tree

5 files changed

+31
-12
lines changed

5 files changed

+31
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ sites/*/settings*.php
44
# Ignore paths that contain user-generated content.
55
sites/*/files
66
sites/*/private
7+
sites/default/os2.aliases.drushrc.php
Loading

sites/all/themes/osto_web/css_newtheme/style.css

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,24 @@ Fonts
4242
}
4343

4444
/* Body */
45-
body.html {
45+
body.html .page {
4646
font-family: var(--font-base);
4747
font-size: var(--size-base);
4848
font-style: normal;
4949
line-height: 1.5;
5050
}
5151

52+
body.html {
53+
background: url(img/colors-2.png) no-repeat left bottom;
54+
/* background-size: contain; */
55+
}
56+
57+
.page article.node p {
58+
font-size: var(--size-base);
59+
}
60+
61+
62+
5263
/* links */
5364
body.html a,
5465
.page .profile .field a,
@@ -64,7 +75,7 @@ body.html a,
6475

6576
.page em,
6677
.page i{
67-
font-style: normal;
78+
font-style: italic;
6879
}
6980

7081
.page .region-content-inner {
@@ -98,6 +109,9 @@ Fullwidth
98109
font-weight: bold;
99110
}
100111

112+
.page .menu-name-main-menu > ul > li {
113+
margin: 0 1.5%;
114+
}
101115

102116
/* menu dropdown */
103117
.page .menu-name-main-menu-wrapper .menu-block-wrapper > ul > li.expanded > a:after {
@@ -193,7 +207,7 @@ Fullwidth
193207
page layout
194208
--------------------------------------------------------------------------- */
195209
.page #zone-menu-wrapper #zone-menu {
196-
width: 80%;
210+
width: 100%;
197211
margin: 0 auto;
198212
}
199213
.page .container-12 {
@@ -217,7 +231,7 @@ Fullwidth
217231
}
218232

219233
.page #zone-title-wrapper {
220-
padding: 0
234+
padding: 1rem 0;
221235
}
222236

223237
.page .grid-12.region-content {
@@ -327,7 +341,6 @@ Fullwidth
327341

328342
}
329343

330-
331344
}
332345
/* min-width: 1024px */
333346

@@ -575,12 +588,13 @@ Footer
575588
.page #zone-footer-wrapper {
576589

577590
border-top: 1px solid var(--color-gray);
578-
background: var(--color-gradient);
591+
/* background: var(--color-gradient); */
592+
background: transparent;
579593
}
580-
.page .region-bottom {
581-
background: url(img/colors.png) no-repeat left center;
594+
/* .page .region-bottom {
595+
background: url(img/colors-2.png) no-repeat left center;
582596
background-size: contain;
583-
}
597+
} */
584598

585599

586600
.page .region-footer-first, .page .region-footer-second {
@@ -637,11 +651,11 @@ Footer
637651
display: block;
638652
}
639653
.front .page .container-12 .grid-12.front-videos {
640-
width: 50%;
654+
width: 80%;
641655
}
642656

643657
.front .page .container-12 .grid-12.region-postscript-second {
644-
width: 70%;
658+
width: 100%;
645659
float: none;
646660
margin: 0 auto;
647661
display: block;
@@ -686,7 +700,7 @@ Footer
686700

687701
#zone-postscript-top {
688702
overflow: hidden;
689-
width: 50%;
703+
width: 80%;
690704
display: block;
691705
margin: 0 auto;
692706
height: 20rem;
@@ -695,13 +709,17 @@ Footer
695709
box-shadow: 0px 0px 15px 1px var(--color-verdigris-dark);
696710
}
697711

712+
713+
698714
#zone-postscript-top .content {
715+
padding: 2rem;
699716
display: grid;
700717
grid-template-columns: 1fr 4fr;
701718
}
702719

703720
#zone-postscript-top .image {
704721
position: relative;
722+
grid-row: 1/3;
705723
}
706724

707725
#zone-postscript-top .text {
5.15 KB
Loading
-899 Bytes
Loading

0 commit comments

Comments
 (0)