Files
simplex-chat/website/src/css/doc.css
Evgeny 7a858695bf new website (#6412)
* website: started new design (#6279)

* upload assets & change font to gt-walsheim

* fix language issue in learn-more page

* design cover for desktop

* website: home page sections (#6285)

* upload assets & change font to gt-walsheim

* fix language issue in learn-more page

* design cover for desktop

* add section 2, 3 & 4 for desktop

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>

* website: more sections (#6289)

* upload assets & change font to gt-walsheim

* fix language issue in learn-more page

* design cover for desktop

* add section 2, 3 & 4 for desktop

* website: directory page (#6283)

* website: directory page

* core: use markdown in directory entries

* render markdown on directory page

* update markdown

* toggle secrets on click

* update listings asynchronously

* add group links to the listing

* cleanup

* better directory layout with pagination

* script to run website

* update page navigation

* search

* readable markdown colors, better "read less"

* core: atomic update of directory listings, to avoid files unavailable

* fix symlink, sort entries on page with new first

* update listings every 15 min, add activeAt time

* fix sorting in the page and listing url

* replace simplex:/ links on desktop

* website: fix search in directory

* add section 5 for Desktop

* android, desktop: update dependency

* website(directory): add bot address, open simplex links in new tab, improve error handling

* made cover responsive

* directory: show only recent groups in active/new tabs, page improvements (#6290)

* directory: show only recent groups as active or new

* round times

* sorting order

* fix links

* improve

* directory: disable search autocomplete

* directory: show approximate activity/creation time

* scripts: suffix deb packages with distribution codename (#6273)

* directory: show default image in case of loading error (can happen when group is delisted)

* website: add directory to nav bar, fixes (#6293)

* website: add directory to nav bar, fixes

* docs: update readme

* add responsiveness

* add socials

* remove white redundent line

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
Co-authored-by: sh <37271604+shumvgolove@users.noreply.github.com>

* website: navbar (#6307)

* add navbar for desktop

* website: complete navbar (#6313)

* website: desktop layout for section 2 3 4 5 (#6317)

* desktop layout for section 2 3 4 5

* improve mobile layout

* resolve navbar issues

* delete unwanted svg

* cover layout

* update section 5 for mobile

* section 5 desktop

* website: improve layout & section 6 (#6321)

* improve layout

* add section 6

* website: promoted groups on home page (#6323)

* website: promoted groups on home page

* use local images when fallback listing is used, replace image on download error with group icon

* welcome message

* more links

* rename CSS classes

* website: adding footer (#6326)

* adding footer

* add footer

* update nav

* improve spaces in .group-images

* quick fix

* add community vouchers page

* fix footer problem

* disable pull to refresh

* address bar now hide in safari

* website: fallback group images (#6342)

* website: new things (#6344)

* add learn_more.md section in /learn-more page

* fix cover swiping bug & improve gradient

* fix click bug of group-images

* website: improve layout (#6361)

* website: improve layout

* fix footer for iphone

* add light mode (#6368)

* website: important updates (#6375)

* design improvements for desktop

* design improvements for mobile

* same navbar for all pages

* add comparison table

* update z-index

* quick fix

* add glassy effect to nav

* quick improvement

* favicon

* quick fix

* update nav glassy effect

* quick nav update

* improve mobile layout

* improve mobile layout

* improve mobile layout

* rotate gradients for mobile

* safearea

* almost remove background from nav

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>

* website: cover updates (#6380)

* remove background from nav

* add publications

* add security btns

* quick fixes

* quick fixes

* add all btns & made them responsive

* add hash & update pages

* Revert "remove background from nav"

This reverts commit ee27d17484.

* fix web.sh

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>

* website: translation strings (#6384)

* add translation strings for home page

* add translation strings for comparison table

* update strings

* website: update text (#6387)

* website: update text

* website: additional translation strings

* comparison table

* update colors

* update glossary

* website: fix glossary capitalize issue (#6388)

* fix glossary capitalize issue

* fix gradient scroll issue

* fix gradient scroll issue

* website: community vouchers and token (#6389)

* website: community vouchers and token

* website: change translation string

* update name

* website: update translations, fonts, fix language navigation (#6395)

* website: update translations

* website: update fonts, fix language navigation

* website: update texts (#6404)

* website: update texts

* website: update texts

* update the text

* website: update texts

* update

* web: mobile layout / safe area (#6408)

* improve status bar / safe area coloring

* improve status coloring

* website: popup to mint nft (WIP) (#6410)

* website: popup to mint nft (WIP)

* update dApp

* minting works

* update dApp

* update

* update app

* improve

* update network to arbitrum

* update copyright

* website: layout fixes, token button (#6415)

* update images, add note about arbitrum

* update colors

* website: update tokens, switch dApp to Ethereum

---------

Co-authored-by: M. Sarmad Qadeer <MSarmadQadeer@gmail.com>
Co-authored-by: sh <37271604+shumvgolove@users.noreply.github.com>
2025-10-28 22:09:17 +00:00

412 lines
6.2 KiB
CSS

html {
scroll-behavior: smooth;
}
header {
transition: none;
}
:focus {
outline: none;
}
#doc {
font-size: 16px;
line-height: 1.5;
word-wrap: break-word;
}
#doc code,
#doc kbd,
#doc pre,
#doc samp {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 1em;
overflow-x: auto;
overflow-y: hidden;
}
#doc p {
margin: 0 0 16px;
gap: 2px;
flex-wrap: wrap;
align-items: center;
}
.dark #doc p {
color: white;
}
#doc h1 {
font-size: 32px;
font-weight: 700;
letter-spacing: 0.02em;
background: -webkit-linear-gradient(to bottom, #53C1FF -50%, #0053D0 160%);
background: linear-gradient(to bottom, #53C1FF -50%, #0053D0 160%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
position: relative;
margin: 0px 0px 16px;
padding: 0px 0px 9.6px;
}
#doc h2 {
font-size: 24px;
font-weight: 700;
color: #3F484B;
position: relative;
margin: 24px 0px 16px;
padding: 0 0 7.2px;
}
#doc h3 {
font-size: 20px;
font-weight: 700;
letter-spacing: 0.02em;
color: #606C71;
margin: 24px 0px 16px;
}
#doc h1::after,
#doc h2::after {
content: '';
position: absolute;
left: 0;
bottom: 0px;
width: 100%;
height: 1px;
background-color: rgb(216, 222, 228);
}
.dark #doc h1::after,
.dark #doc h2::after {
background-color: transparent;
}
.dark #doc h1 {
background: -webkit-linear-gradient(to bottom, #70F0F9 0%, #70F0F9 33%, #50D8F1 100%);
background: linear-gradient(to bottom, #70F0F9 0%, #70F0F9 33%, #50D8F1 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
.dark #doc h2,
.dark #doc h3,
.dark #doc h4 {
color: white;
}
#doc img {
max-width: 100%;
}
#doc article ul {
overflow-x: auto;
}
#doc ul,
#doc ol {
list-style-position: inside;
overflow: auto;
margin: 1rem 0;
padding-left: 1rem;
}
#doc ul li,
#doc ol li {
margin-right: 0;
margin-left: 0;
-webkit-margin-start: 1.1rem;
color: #000;
}
.dark #doc ul li,
.dark #doc ol li {
color: #fff;
}
#doc ul li::marker,
#doc ol li::marker {
color: black;
}
.dark #doc ul li::marker,
.dark #doc ol li::marker {
color: white;
}
#doc ul li a,
#doc ol li a {
line-height: 30px;
}
#doc ul li {
list-style: disc;
}
#doc ol li {
list-style: decimal;
}
#doc a {
color: #0053D0;
text-decoration: underline;
text-underline-offset: 4px;
}
#doc h1 a {
-webkit-text-fill-color: #0053D0;
text-fill-color: #0053D0;
}
.dark #doc a {
color: #70F0F9;
}
.dark #doc h1 a {
-webkit-text-fill-color: #70F0F9;
text-fill-color: #70F0F9;
}
#doc pre {
overflow: auto;
}
.dark #doc pre {
color: white;
}
#doc table {
display: block;
border-collapse: collapse;
width: max-content;
max-width: 100%;
overflow: auto;
margin-bottom: 1rem;
border: 1px solid #e1e4e8;
}
#doc table th,
#doc table td {
border: 1px solid #e1e4e8;
padding: 6px 13px;
}
#doc table td a {
display: inline-block;
}
#doc table th {
font-weight: 600;
background-color: #f6f8fa;
text-align: left;
}
#doc table tbody tr:nth-child(odd) {
background-color: #ffffff;
}
#doc table tbody tr:nth-child(even) {
background-color: #fafbfc;
}
.dark #doc table tr,
.dark #doc table th {
color: white;
background-color: transparent !important;
}
#doc main {
display: flex;
}
#doc main aside {
width: 320px;
height: calc(100vh - 66px);
position: sticky;
top: 66px;
overflow-y: auto;
background-color: #fff;
}
.dark #doc main aside {
background-color: #000832;
}
#doc main aside ul {
margin: 0;
padding: 0;
}
#doc main aside ul li {
list-style: none;
margin: 0;
}
#doc main aside ul li a {
font-size: 14px;
display: block;
color: rgb(60, 60, 60);
text-decoration: none;
}
#doc main aside ul li a:hover {
color: #000;
}
.dark #doc main aside ul li a:hover {
color: #fff;
}
#doc main aside ul li a.active {
color: #0053D0;
}
.dark #doc main aside ul li a.active {
color: #70F0F9;
}
#doc main aside p {
margin: 0;
font-weight: 700;
letter-spacing: .8px;
margin-top: 1.2rem;
margin-bottom: .4rem;
}
#doc main article {
width: calc(100vw - 320px);
}
@media (max-width: 1024px) {
#doc main aside {
position: fixed;
top: 0;
left: 0;
height: 100vh;
z-index: 100;
transition: all ease .3s;
transform: translateX(-100%);
}
#doc main.overlay aside {
transform: translateX(0);
}
#doc main.overlay::after {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #F3FAFF;
opacity: 0.9;
z-index: 99;
}
.dark #doc main.overlay::after {
background-color: #000832;
}
#doc main article {
width: 100%;
}
}
#doc article>div {
max-width: 870px;
margin: 0 auto;
padding: 16px 32px 32px 32px;
}
@media (max-width: 1024px) {
#doc article>div {
max-width: 600px;
padding-left: 0;
padding-right: 0;
}
}
#doc .hash-link {
opacity: 0;
font-size: 1.5rem;
text-decoration: none !important;
position: absolute;
left: -16px;
top: 0;
transition: all ease .3s;
}
#doc h1 a.hash-link {
top: 6px;
}
#doc h1:hover .hash-link,
#doc h2:hover .hash-link,
#doc h3:hover .hash-link,
#doc h4:hover .hash-link,
#doc h5:hover .hash-link,
#doc h6:hover .hash-link,
#doc .hash-link:hover {
opacity: 1;
}
#doc .hash-link:hover {
text-decoration: underline !important;
}
#doc .hash-list {
padding: 1.5rem 2rem !important;
}
#doc .hash-list li {
list-style: none !important;
width: 100%;
-webkit-margin-start: 0 !important;
}
#doc .hash-list li a {
text-decoration: none !important;
color: #000 !important;
}
.dark #doc .hash-list li a {
color: #fff !important;
}
@media (max-width: 1024px) {
#doc .sub-menu.hash-list {
max-height: fit-content;
}
}
#doc #back-to-top {
color: #0053D0 !important;
position: relative;
display: block;
width: 100%;
}
.dark #doc #back-to-top {
color: #70F0F9 !important;
}
#doc #back-to-top::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -12px;
height: 1px;
background-color: rgb(216, 222, 228);
}
.dark #doc #back-to-top::after {
opacity: 0.2;
}