forked from organicmaps/website
Markdown should contain content, not HTML and JS code. Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
236 lines
3.3 KiB
SCSS
236 lines
3.3 KiB
SCSS
body {
|
|
margin: 1rem;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, segoe ui, Helvetica, Arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
// Top menu.
|
|
header {
|
|
text-align: center;
|
|
}
|
|
|
|
main {
|
|
margin: 0 auto;
|
|
max-width: 1024px;
|
|
width: 100%;
|
|
}
|
|
|
|
img[alt=logo] {
|
|
width: 60px;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.badge {
|
|
img {
|
|
width: 180px;
|
|
}
|
|
}
|
|
|
|
#screenshots img {
|
|
max-width: 400px;
|
|
}
|
|
|
|
.screenshot {
|
|
max-width: 400px;
|
|
width: 100%;
|
|
}
|
|
|
|
hr {
|
|
height: 2px;
|
|
margin: 7px;
|
|
background: gray;
|
|
border: 0;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid #eaecef;
|
|
margin-top: 24px;
|
|
margin-bottom: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
p {
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
footer {
|
|
padding-top: 1rem;
|
|
border-top: 1px solid #eaecef;
|
|
text-align: center;
|
|
|
|
p {
|
|
font-size: small;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
#badges {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#badges a {
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.news_content_image {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background: #000;
|
|
color: #bbb;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
border-bottom: 1px solid #555;
|
|
}
|
|
|
|
footer {
|
|
border-top: 1px solid #555;
|
|
}
|
|
|
|
a {
|
|
color: lightblue;
|
|
}
|
|
|
|
a:visited {
|
|
color: #f9f;
|
|
}
|
|
|
|
:root {
|
|
scrollbar-color: #333 #000;
|
|
}
|
|
}
|
|
|
|
.installPWAButton {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.logo {
|
|
background-image: url("/logos/green-on-transparent.svg");
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: left center;
|
|
background-origin: content-box;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.github svg {
|
|
fill: black;
|
|
@media (prefers-color-scheme: dark) {
|
|
fill: white;
|
|
}
|
|
display: inline-block;
|
|
overflow: visible!important;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.menuitems {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.menuitem, .menuitem_active {
|
|
white-space: nowrap;
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
#bottom_menu {
|
|
margin-bottom: 1em;
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.menuitem_selected {
|
|
text-decoration: none;
|
|
border: red 2px solid;
|
|
border-radius: 1rem;
|
|
padding: 0.3rem 0.5rem 0.3rem 0.5rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.donate_buttons {
|
|
form, input {
|
|
display: inline;
|
|
border-width: 0;
|
|
}
|
|
img, input[type="image"] {
|
|
height: 48px;
|
|
width: 48px;
|
|
padding: 2px;
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
|
|
#crypto_table + table {
|
|
font-size: smaller;
|
|
display: block;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.news_date {
|
|
display: flex;
|
|
flex-basis: 100%;
|
|
align-items: center;
|
|
margin: 1rem 0;
|
|
&:before, &:after {
|
|
content: "";
|
|
flex-grow: 1;
|
|
background-color: gray;
|
|
height: 1px;
|
|
font-size: 0px;
|
|
line-height: 0px;
|
|
margin: 0;
|
|
}
|
|
}
|
|
img {
|
|
max-width: 90%;
|
|
}
|
|
.news_content_image {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
}
|
|
.news_image {
|
|
max-height: 520px;
|
|
margin-left: 0.5rem;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
width: auto;
|
|
}
|
|
.news_content {
|
|
display: inline-block;
|
|
}
|
|
.back_to_news {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
@import "language_selector";
|