Skip to content

Commit 39f8e79

Browse files
committed
Minor adjustments for the style of the index page
1 parent b0a7999 commit 39f8e79

File tree

3 files changed

+10
-30
lines changed

3 files changed

+10
-30
lines changed

source/_themes/wazuh_doc_theme_v3/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
</nav>
1919
</header>
2020
<div id="large-search-box">
21-
<div class="outer-container">
22-
<div class="container">
21+
<div class="container">
22+
<div class="inner-container">
2323
<div class="h2 title">
2424
Documentation <span class="text-bold">Index</span>
2525
</div>

source/_themes/wazuh_doc_theme_v3/src/scss/pages/index.scss

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ header {
7979
margin-right: auto;
8080
}
8181

82-
.outer-container {
82+
.inner-container {
8383
width: 100%;
8484
overflow: hidden;
85-
margin-top: 30px;
8685
margin-left: auto;
8786
margin-right: auto;
8887
border-radius: 26px;
@@ -97,31 +96,10 @@ header {
9796
display: flex;
9897
min-height: 200px;
9998
align-items: center;
100-
flex-direction: row;
99+
flex-direction: column;
101100
margin-bottom: 30px;
102-
@include media-max(lg) {
103-
margin-top: 25px;
104-
}
105-
@include media-max(sm) {
106-
max-width: calc(100% - 30px);
107-
}
108-
@include media-only(sm, md) {
109-
max-width: calc(97% - 64px);
110-
}
111-
@include media-only(md, lg) {
112-
max-width: calc(90% - 24px);
113-
}
114-
@include media-min(lg) {
115-
max-width: calc(97% - 24px);
116-
}
117-
@include media-min(xxl) {
118-
max-width: 1520px;
119-
}
120-
@include media-only(wzh-xl,xxl) {
121-
max-width: 94%;
122-
}
123-
@include media-only(xl, wzh-xl) {
124-
max-width: 1156px;
101+
@include media-min(xl) {
102+
margin-top: 30px;
125103
}
126104
.container {
127105
@include media-max(sm) {
@@ -161,11 +139,13 @@ header {
161139
margin-left: auto;
162140
border-radius: 20px;
163141
border-width: 1px;
142+
width: 90%;
143+
max-width: calc(100% - 60px);
164144
@include media-only (sm, xxl){
165145
max-width: 80%;
166146
}
167147
@include media-min (xxl){
168-
max-width: 984px;
148+
max-width: 800px;
169149
}
170150
.form-control {
171151
box-shadow: none;

source/_themes/wazuh_doc_theme_v3/static/css/min/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)