Skip to content

Commit

Permalink
New product page (#11)
Browse files Browse the repository at this point in the history
* GROUPDOCSAPP-540 platform block

* GROUPDOCSAPP-540  mobile, md updates

* GROUPDOCSAPP-540 dark theme, layout fixes
  • Loading branch information
mikhail-asp authored Apr 23, 2024
1 parent 743e84e commit de60101
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 4 deletions.
8 changes: 4 additions & 4 deletions themes/hugo-geekdoc/layouts/partials/head/others.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,24 @@

<link
rel="preload"
href="/main-groupdocs.css?v=23.6.0"
href="/main-groupdocs.css?v=24.4.0"
as="style"
/>
<link
rel="stylesheet"
href="/main-groupdocs.css?v=23.6.0"
href="/main-groupdocs.css?v=24.4.0"
media="all"
/>


<link
rel="preload"
href="/mobile-groupdocs.css?v=23.4.0"
href="/mobile-groupdocs.css?v=24.4.0"
as="style"
/>
<link
rel="stylesheet"
href="/mobile-groupdocs.css?v=23.4.0"
href="/mobile-groupdocs.css?v=24.4.0"
media="all"
/>

Expand Down
4 changes: 4 additions & 0 deletions themes/hugo-geekdoc/static/img/groupdocs-stack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
174 changes: 174 additions & 0 deletions themes/hugo-geekdoc/static/main-groupdocs.css
Original file line number Diff line number Diff line change
Expand Up @@ -2623,6 +2623,180 @@ h2.gdoc-product-title {
}


.gdoc-platforms {
max-width: 80rem;
margin: 0 auto;
margin-bottom: 6rem;
}

.gdoc-platform {
border: 1px solid var(--border-color);
border-radius: 1rem;
margin-bottom: 5rem;
}

.gdoc-platform__header {
background-color: var(--code-background);
display: flex;
align-items: center;
padding: 2rem 3rem;
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
}

.gdoc-platform__header-icon {
width: 2.5rem;
height: 2.5rem;
margin-right: 1.5rem;
}

a.gdoc-platform__header-title{
font-size: 1.4rem;
font-weight: 500;
color: var(--body-font-color);

}
a.gdoc-platform__header-btn {
margin-left:auto;
display: block;
color: #fff;
border-radius: 6px;
padding: 0.45rem 1rem;
background-color: var(--link-color);
font-size: 0.875rem;
cursor: pointer;
}


.gdoc-platform__footer {

display: flex;
justify-content: center;
align-items: center;
padding: 2rem;
padding-bottom: 4rem;
display: none;
}

.gdoc-platform-links {
padding-bottom: 4rem;
display: flex;
justify-content: center;

}
.gdoc-platform-links a {
border-bottom: none !important;
}

.gdoc-platform-links ul {
list-style-type: none;
margin: 0;
display: flex;
align-items: center;
padding-left:0;


}

.gdoc-platform-links li {
padding-top:0.5rem !important;
display: block;
padding: 0.5rem 1rem;
background-color: var(--code-copy-background);
border-right: 1px solid var(--border-color);

}

.gdoc-platform-links li:first-child {
border-top-left-radius: 0.5rem;
border-bottom-left-radius: 0.5rem;
}

.gdoc-platform-links li:last-child {
border-top-right-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
border-right: none;
}


a.gdoc-platform__footer-btn {


color: #fff;
border-radius: 6px;
padding: 0.75rem 1.5rem;
background-color: var(--link-color);
font-size: 0.875rem;
cursor: pointer;
}

.gdoc-platform__cols {
display: flex;
padding: 3rem 1rem;
}

.gdoc-platform__col {
width: 33%;
display: flex;
flex-direction: column;
padding: 0 2rem;
font-size: 0.875rem;
}

.gdoc-platform__col-title {
font-size: 1rem;

background-repeat: no-repeat;
background-size: 1.25rem;
background-position: left center;
display: flex;

white-space: nowrap;
align-items: center;
}

.gdoc-platform__col-icon {
fill: var(--body-font-color);
width: 1.25rem;
height: 1.25rem;
margin-right: 0.5rem;
}



.gdoc-platform__col-descr {
color: var(--body-text-font-color);
text-align: left;
padding: 1rem 0;

}

ul.gdoc-platform__col-links {
list-style-type: none;
margin: 0;
padding-left: 0rem;

display: flex;
flex-direction: column;
}
.gdoc-platform__col-links > li {
padding: 0;
text-align: left;

}

.gdoc-platform__col-links a {
padding-bottom: 2px;
}

.gdoc-platform__col-links--alt a {
color: var(--body-font-color);
border-bottom: 1px solid var(--alt-border-color) !important;

}



.gdoc-product-docs {
display: flex;
margin-bottom: 6rem;
Expand Down
21 changes: 21 additions & 0 deletions themes/hugo-geekdoc/static/mobile-groupdocs.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,25 @@
.gdoc-list-descr {
margin-bottom: 10rem;
}

.gdoc-platform__cols {
flex-direction: column;
gap:4rem;
}
.gdoc-platform__col {width:auto;}
.gdoc-platform__header {
flex-direction: column;
gap: 1.5rem;
}
.gdoc-platform__header-icon {
margin-right: 0;
}

a.gdoc-platform__header-btn {
display: none;
}

.gdoc-platform__footer {
display: block;
}
}

0 comments on commit de60101

Please sign in to comment.