FluentReader/docs/styles.css

221 lines
3.9 KiB
CSS
Raw Permalink Normal View History

2021-08-21 23:49:56 +02:00
html,
body {
2020-06-17 03:42:13 +02:00
background-color: #f3f2f1;
font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
margin: 0;
line-height: 1.5;
width: 100%;
}
html {
overflow-x: hidden;
}
a {
color: #0078d4;
text-decoration: none;
}
2021-08-21 23:49:56 +02:00
a:hover,
a:active {
2020-06-17 03:42:13 +02:00
color: #004578;
text-decoration: underline;
}
.elevate {
2021-08-21 23:49:56 +02:00
box-shadow: 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132),
0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108);
2020-06-17 03:42:13 +02:00
}
.logo-container {
height: 100vh;
width: 100%;
min-height: 540px;
position: relative;
}
.logo-container img {
height: 180px;
width: 180px;
position: fixed;
left: calc(50% - 90px);
top: calc(50% - 230px);
}
.logo-container header {
text-align: center;
display: block;
width: 100%;
font-size: 1.75em;
font-weight: 500;
position: fixed;
left: 0;
top: calc(50% - 40px);
}
.screenshot {
display: block;
margin: 0 auto;
2020-06-17 03:52:18 +02:00
width: 90%;
2020-06-17 03:42:13 +02:00
max-width: 1464px;
overflow: hidden;
}
2020-06-17 03:52:18 +02:00
.screenshot > img {
width: 100%;
}
2020-06-17 03:42:13 +02:00
.light-container {
padding-bottom: 48px;
background-color: #fff;
position: relative;
}
.light-container .screenshot {
margin: 0 auto -280px;
position: relative;
top: -280px;
}
2021-08-21 23:49:56 +02:00
.light-container h1,
.dark-container h1 {
2020-06-17 03:42:13 +02:00
width: 95%;
max-width: 800px;
margin: 48px auto 24px;
font-weight: 500;
text-align: center;
}
2021-08-21 23:49:56 +02:00
.light-container p,
.dark-container p {
2020-06-17 03:42:13 +02:00
width: 85%;
max-width: 750px;
margin: 24px auto;
text-align: center;
font-size: 1.375em;
color: #323130;
}
.features-container {
padding: 48px 0;
margin: 0 auto;
width: 95%;
max-width: 950px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
position: relative;
background-color: #f3f2f1;
}
.features-container > section {
display: block;
width: 45%;
height: 560px;
padding: 18px 36px;
background-color: #fff;
margin: 24px 0;
overflow: hidden;
position: relative;
box-sizing: border-box;
}
.features-container > section > h3 {
font-weight: 500;
color: #605e5c;
2021-08-21 23:49:56 +02:00
margin: 0 0 0.5em;
2020-06-17 03:42:13 +02:00
}
.features-container > section > h3 > span {
color: #d2d0ce;
background-color: #d2d0ce;
user-select: none;
}
.features-container > section > img {
position: absolute;
right: 0;
bottom: 0;
max-width: 90%;
}
.features-container > section > img.center {
left: auto;
right: auto;
}
.dark-container {
position: relative;
background-color: #1f1f1f;
color: #fff;
padding: 72px 0;
overflow: hidden;
}
.dark-container p {
color: #d2d0ce;
}
.get-container {
height: 100vh;
width: 100%;
min-height: 540px;
display: flex;
align-items: center;
justify-content: flex-end;
flex-direction: column;
position: relative;
}
2020-06-29 03:52:13 +02:00
.stores {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.stores > a {
display: inline-block;
margin: 0 16px 16px;
}
2020-06-17 03:42:13 +02:00
.ms-get {
2020-06-29 03:52:13 +02:00
width: 142px;
height: 52px;
}
.mac-get {
2020-06-17 03:42:13 +02:00
height: 52px;
}
.links {
display: flex;
flex-direction: row;
justify-content: center;
margin: calc(50vh - 210px) 0 48px;
}
2021-08-21 23:49:56 +02:00
.links > a {
2020-06-17 03:42:13 +02:00
display: inline-block;
margin: 0 8px;
}
@media (max-width: 780px) {
2021-08-21 23:49:56 +02:00
html,
body {
font-size: 14px;
}
2020-06-17 03:42:13 +02:00
.logo-container img {
height: 140px;
width: 140px;
left: calc(50% - 70px);
top: calc(50% - 190px);
}
.screenshot {
margin-left: 5vw;
}
.light-container .screenshot {
2020-06-17 03:59:31 +02:00
width: 95vw;
2020-06-17 03:42:13 +02:00
margin: 0 0 -25vw 5vw;
position: relative;
top: -25vw;
}
.screenshot > img {
width: 150%;
}
.features-container > section {
width: 95%;
height: auto;
padding-bottom: 80%;
}
.features-container > section:last-of-type {
padding-bottom: 36px;
}
2020-06-29 03:52:13 +02:00
.stores {
flex-direction: column;
}
.links {
margin-top: calc(50vh - 270px);
}
2020-06-17 03:59:31 +02:00
}