mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-11-21 19:15:51 +00:00
Merge branch 'responsive-issues' into 'master'
Responsive issues Hi Michael! these are the the solved items - solved responsive design tables. - Solved breadcrumb mobile. - Added margin bottom to "main-content" class, in order to solve overlapping with footer. - Added a scroll to the class "highlight-console", to improve the view in mobile See merge request !129
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{% set suffix = source_suffix %}
|
||||
{% endif %}
|
||||
|
||||
<div id="site-breadcrumb" class="hidden-sm">
|
||||
<div id="site-breadcrumb">
|
||||
<h2 class="element-invisible"></h2>
|
||||
<div class="breadcrumb">
|
||||
<a href="/">Home</a> » <a href="{{ pathto(master_doc) }}">Documentation</a> » {{ title }}
|
||||
|
||||
@@ -98,12 +98,12 @@
|
||||
|
||||
</head>
|
||||
|
||||
<body role="document" >
|
||||
<body role="document" class="section-documentation">
|
||||
<div id="wrapper">
|
||||
{% include "header.html" %}
|
||||
{# PAGE CONTENT #}
|
||||
<div class="main-content">
|
||||
<div id="site-breadcrumb" class="hidden-sm">
|
||||
<div id="site-breadcrumb">
|
||||
<div class="container">{% include "breadcrumbs.html" %}</div>
|
||||
</div>
|
||||
<div class="container clearfix">
|
||||
|
||||
@@ -132,7 +132,13 @@ sidebar .custom-dropdown-menu {
|
||||
}
|
||||
|
||||
.main-content{
|
||||
padding-top: 110px !important;
|
||||
padding-top: 60px !important;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.main-content {
|
||||
padding-top: 115px !important;
|
||||
}
|
||||
}
|
||||
|
||||
#site-breadcrumb {
|
||||
@@ -160,3 +166,32 @@ footer .menu-name-menu-social-media {
|
||||
right: 0;
|
||||
top: 25px;
|
||||
}
|
||||
|
||||
.section-documentation table {
|
||||
margin: 2em 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.section-documentation table tr th{
|
||||
padding: 0.33em 2em 0.33em 0.33em;
|
||||
}
|
||||
|
||||
.section-documentation ul li {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.row .container-fluid {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.section .section .highlight-console .highlight {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.section .section .highlight-console .highlight pre {
|
||||
min-width: 560px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user