Skip to content

Commit

Permalink
Additional changes for sm mobile responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Earl Soriano Fojas/Server Solutions G /SRPH/Engineer/Samsung Electronics committed Oct 22, 2023
1 parent 7d86c88 commit 899c072
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 13 deletions.
2 changes: 1 addition & 1 deletion _includes/homepage_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<a href="{% tl contribution-guide %}" class="links-item fs-4">{% t title.contributionGuide %}</a>
</div>
</div>
<div class="links-section">
<div class="links-section third-section">
<div>
<img src="../assets/images/ic_feature_license.png" class="mr-1 links-header-icon">
<a href="{% tl license %}" class="links-header fs-5">{% t title.license %}</a>
Expand Down
4 changes: 2 additions & 2 deletions _sass/color_schemes/dark_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,6 @@ a {
background-color: $body-background-color !important;
}

.site-button > .icon {
color: #00efff !important;
.site-button > .icon, .home-menu-button > .icon {
color: $teal !important;
}
4 changes: 4 additions & 0 deletions _sass/color_schemes/light_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,8 @@ $hover-sidebar-links-color: #ebedf5;

.main-header {
background-color: $white !important;
}

.home-menu-button > .icon {
color: $white;
}
47 changes: 38 additions & 9 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,6 @@ main+hr {
padding-left: 0.6rem !important;
}

.breadcrumb-nav {
margin-top: 0.625rem;
}

@media (min-width: 1065px) and (max-width: 75rem) {
.main {
max-width: calc(100vw - 27rem);
Expand Down Expand Up @@ -386,6 +382,14 @@ main+hr {
.main-header {
margin-bottom: 6rem;
}

.breadcrumb-nav {
margin-top: 0.938rem;
}

.site-title {
padding: 0.938rem 2rem 0rem 1.563rem;
}
}

@media (max-width: 75rem) {
Expand Down Expand Up @@ -433,6 +437,10 @@ main+hr {
.open-source-count {
font-size: 2rem !important;
}

.banner {
height: 34rem;
}
}

@media (min-width: 50rem) and (max-width: 66.5rem) {
Expand All @@ -443,6 +451,10 @@ main+hr {
.open-source-count {
font-size: 1.875rem !important;
}

.banner {
height: 30rem;
}
}

@media (max-width: 1134px) {
Expand Down Expand Up @@ -472,15 +484,32 @@ main+hr {
font-size: 0.875rem !important;
}

.homepage-dropdown-content {
right: 4rem;
}

.homepage-links-container {
padding: 3rem 2.5rem 4rem 2.5rem;
}

.open-source-count {
font-size: 1.875rem !important;
font-size: 1.75rem !important;
}

.banner {
height: 29rem;
}

.open-source-div {
padding: 1.438rem;
}

.project-icon-div {
height: 35px;
align-self: center;
}

.links-section {
width: 50%;
}

.third-section {
margin-top: 4rem;
}
}
2 changes: 1 addition & 1 deletion assets/js/just-the-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ jtd.onReady(function(){
})(window.jtd = window.jtd || {});

window.onload = (event) => {
var tempIsSearchEnabled = document.getElementById('is-search-enabled').value != 'false';
var tempIsSearchEnabled = document.getElementById('is-search-enabled').value;
var isSearchEnabled = false;

if (tempIsSearchEnabled && tempIsSearchEnabled.value && tempIsSearchEnabled.value != 'false') {
Expand Down

0 comments on commit 899c072

Please sign in to comment.