mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-11-21 19:15:51 +00:00
experimenting with formatting
This commit is contained in:
@@ -9,31 +9,36 @@
|
||||
{% block content %}
|
||||
|
||||
<header id="header">
|
||||
<div>
|
||||
<div class="padding-md--left-right">
|
||||
|
||||
<div class="header__site_info">
|
||||
<object class="header__site_img_object" type="image/svg+xml" data="https://stg.clearlinux.org/modules/custom/clearlinux_org/themes/clearlinux_theme/clear-technologies.svg"></object>
|
||||
<div class="header__site_info_name">
|
||||
<a href ="https://stg.clearlinux.org"> Clear Linux* Project</a>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="header__menu">
|
||||
<ul class="header__menu_list">
|
||||
<li class="header__menu_list_item ">
|
||||
<a tabindex='1' href="https://clearlinux.org/features">Features</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item ">
|
||||
<a tabindex='1' href="https://clearlinux.org/documentation/clear-linux">Documentation</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item ">
|
||||
<a tabindex='1' href="https://clearlinux.org/community">Community</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item ">
|
||||
<a tabindex='1' href="https://clearlinux.org/blogs">Blogs</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item ">
|
||||
<a tabindex='1' href="https://clearlinux.org/containers">Containers</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item ">
|
||||
<a tabindex='1' href="https://clearlinux.org/downloads">Downloads</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item ">
|
||||
<a tabindex='1' href="https://clearlinux.org/stacks">Stacks</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<li class="header__menu_list_item green ">
|
||||
<a tabindex='1' href="https://stg.clearlinux.org/about">About</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item purple ">
|
||||
<a tabindex='1' href="https://stg.clearlinux.org/developer">Developer</a>
|
||||
</li>
|
||||
<li class="header__menu_list_item blue ">
|
||||
<a tabindex='1' href="https://stg.clearlinux.org/software">Software</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="header__banner">
|
||||
<div class="header__banner_title">
|
||||
Documentation
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
{{ super() }}
|
||||
|
||||
@@ -149,7 +149,100 @@ th,td {
|
||||
transition: max-height 0.2s ease-out;
|
||||
}
|
||||
|
||||
#header {
|
||||
width: 100%;
|
||||
display: block;
|
||||
font-family: "IntelClear-Regular", Helvetica, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.padding-md--left-right {
|
||||
padding-left: 2.6%;
|
||||
padding-right: 2.6%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.header__site_info {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.header__site_img_object {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.header__site_info_name {
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
height: 50px
|
||||
}
|
||||
|
||||
#header__site_info_name a:link {
|
||||
color: black;
|
||||
}
|
||||
|
||||
#header__site_info_name a:visited {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.header__menu {
|
||||
text-align: right;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.header__menu_list li {
|
||||
display: inline;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.header__menu_list li a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.header__menu_list_item {
|
||||
display: inline;
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
min-width: 1px;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
/*top: 35px;*/
|
||||
}
|
||||
|
||||
.header__menu_list_item.green > a::before {
|
||||
color: #009B93;
|
||||
}
|
||||
|
||||
.header__menu_list_item.purple > a::before {
|
||||
color: #6E4C9F;
|
||||
}
|
||||
|
||||
.header__menu_list_item.blue > a::before {
|
||||
color: #358CCB;
|
||||
}
|
||||
|
||||
.header__menu_list_item > a::before {
|
||||
content: '•';
|
||||
font-size: 35px;
|
||||
margin-right: 10px;
|
||||
position: relative;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
.header__banner {
|
||||
width: 120%;
|
||||
margin-left: -3.236em;
|
||||
background-image: url(https://stg.clearlinux.org/sites/default/files/bg_developer_0.png);
|
||||
}
|
||||
|
||||
.header__banner_title {
|
||||
display: block;
|
||||
color: white;
|
||||
font-size: 36px;
|
||||
font-family: "IntelClear-Bold", Helvetica, Arial, sans-serif;
|
||||
margin-left: 0.67em;
|
||||
line-height: 100px;
|
||||
}
|
||||
+6
-3
@@ -52,7 +52,8 @@ source_suffix = '.rst'
|
||||
master_doc = 'clear-linux/clear-linux'
|
||||
|
||||
# General information about the project.
|
||||
project = u'Clear Linux* project'
|
||||
#project = u'Clear Linux* project'
|
||||
project = u''
|
||||
copyright = u'2019, many'
|
||||
author = u'many'
|
||||
|
||||
@@ -131,7 +132,9 @@ html_context = {
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
#html_theme_options = {}
|
||||
html_theme_options = {
|
||||
'style_nav_header_background': 'url(https://stg.clearlinux.org/sites/default/files/bg_developer_0.png)'
|
||||
}
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
html_theme_path = ['_themes']
|
||||
@@ -145,7 +148,7 @@ html_title = "Documentation for Clear Linux* project"
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top
|
||||
# of the sidebar.
|
||||
html_logo = 'images/clearlinux.png'
|
||||
#html_logo = 'images/clearlinux.png'
|
||||
|
||||
# The name of an image file (within the static path) to use as favicon of the
|
||||
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
||||
|
||||
Reference in New Issue
Block a user