content/assets/stylesheets/home.css (180 lines of code) (raw):
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
:root{
background-color: #eef0f2;
}
.md-container {
cursor: default;
}
.title {
margin-left: 20px;
max-width: 350px;
color: white;
}
.title > h1 {
font-size: 4.5rem;
text-align: left;
color: white;
}
.md-typeset .title h1,
.md-typeset ul li ul {
margin: 0
}
/* Hide sidebars in home */
.md-sidebar--primary,
.md-sidebar--secondary {
display: none;
}
.md-typeset .headerlink {
display: none;
}
.banner-logo p {
display: none;
}
.subtitle {
margin: 4rem 0 1.6rem;
font-size: 2.5rem;
font-weight: 300;
letter-spacing: -0.01em;
line-height: 1.4;
text-align: center;
}
/* Styling of the outer grid */
.md-main__inner {
max-width: none;
height: 100%;
padding-top: 0;
}
.md-content {
margin: 0;
}
.md-content__inner {
margin: 0;
padding-top: 0;
}
.md-content__inner::before {
display: none;
content: none
}
.navigation {
background-color: #242323;
text-align: center;
padding: 15px 0;
}
.navigation a {
color: #fff;
}
.navigation ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
white-space: nowrap;
justify-content: center;
flex-wrap: wrap;
}
.navigation ul li {
display: inline-block;
margin: 5px 15px;
}
.hero {
display: flex;
justify-content: center;
align-content: center;
flex-wrap: wrap;
background: rgba(0, 0, 0, 0.895); /*linear-gradient(24deg, rgba(58, 159, 180, 0.8) 0%, rgba(253, 29, 29, 0.8) 50%, rgba(252, 176, 69, 0.8) 100%);*/
min-height: 500px;
column-gap: 60px;
}
.row {
margin: 20px;
}
.row a {
text-decoration: none;
color: #333;
margin: 0 5px;
flex-basis: 40%;
}
@media (max-width: 768px) {
.hero {
flex-direction: column;
align-items: center;
}
.title {
text-align: center;
margin: 20px 0;
}
.title h1 {
text-align: center;
}
.banner-logo {
display: none;
}
}
.banner-logo {
width: 100%;
background-image: url("../images/pekko_logo.png");
background-repeat: no-repeat;
background-size: contain;
background-position: center;
max-width: 280px;
min-height: 280px;
}
/* Styling Modules sections */
.row > ul {
gap: 24px 36px;
display: grid;
margin: 0 auto;
max-width: 960px;
text-align: center;
list-style-type: none;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.row ul li {
margin: 0;
padding: 5px;
display: inline-block;
}
.row > ul > li {
border: 1px solid rgba(0,0,0,0.2);
font-weight: 500;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
opacity: 1;
transition: opacity 0.3s ease-in-out;
cursor: default;
padding:24px;
color: #ff9100;
opacity: 0.8;
}
.row > ul > li a{
text-decoration: underline;
}
.md-header-nav__button.md-icon--home,
.md-header-nav__button.md-logo {
display: block;
}
.md-header-nav__button.md-icon--menu {
display: none;
}
@media (max-width: 768px) {
.row > ul {
gap: 12px 18px;
max-width: 700px;
}
.row ul li {
padding: 4px;
}
.row > ul > li {
padding: 16px 8px;
}
}
@media (max-width: 480px) {
.row > ul {
gap: 8px 12px;
max-width: 400px;
}
.row ul li {
padding: 4px;
}
.row > ul > li {
padding: 16px 8px;
}
}