About page

This commit is contained in:
Angelos Chalaris
2018-09-08 14:47:48 +03:00
parent bf358d9268
commit f7f09dcd76
19 changed files with 291 additions and 531 deletions

View File

@ -852,247 +852,18 @@ footer {
}
}
/*
// Old Landing page
#splash {
height: auto;
padding-bottom: 1.5rem;
background: linear-gradient(
135deg,
#ffb300 0%,
#ec407a 100%
);
#logo {
margin-top: 0;
margin-left: -0.5rem;
padding-top: 2rem;
text-align: center;
font-size: 2.25rem;
line-height: 2;
img {
vertical-align: top;
height: 4.5rem;
}
}
#tagline {
text-align: center;
padding: 0.5rem 25%;
}
#doc-link {
text-align: center;
margin-left: -0.5rem;
> a {
background: transparent;
border: 0.0625rem solid rgba(17, 17, 17, 0.95);
transition: all 0.3s;
border-radius: 0.25rem;
padding: var(#{$universal-padding-var}) calc(1.5 * var(#{$universal-padding-var}));
color: #212121;
&:hover,
&:focus {
text-decoration: none;
background: rgba(17, 17, 17, 0.95);
color: #e86957;
box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14),0 1px 7px 0 rgba(0,0,0,0.12),0 3px 1px -1px rgba(0,0,0,0.2);
}
}
}
@media screen and (max-width: 767px) {
#logo {
font-size: 1.75rem;
img {
height: 3.5rem;
}
}
#tagline {
padding: 0.25rem 17.5%;
font-size: 0.875rem;
}
#doc-link {
font-size: 0.875rem;
}
}
@media screen and (max-width: 383px) {
#logo {
font-size: 1.5rem;
img {
height: 3rem;
}
}
#tagline {
padding: 0.125rem 5%;
}
}
@media screen and (max-width: 479px) {
#tagline #tagline-lg {
display: none;
}
}
}
#in-numbers {
background: #111; //#3f88c5; //#e15554;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #fff;
svg {
fill: #fff;
@media screen and (min-width: 768px) {
position: relative;
top: 20px;
left: -34px;
width: 32px;
height: 32px;
}
}
p {
overflow-wrap: break-word;
@media screen and (min-width: 768px) {
position: relative;
top: -24px;
left: 22px;
font-size: 0.75rem;
}
margin-top: 0;
font-size: 0.625rem;
margin-bottom: 0;
}
}
#snippet-count,
#contrib-count,
#commit-count,
#star-count {
// About page
.card.contributor > .section.button {
font-size: 1rem;
@media screen and (min-width: 768px) {
font-size: 1.25rem;
}
}
header.hidden {
top: -3.5rem;
box-shadow: none;
}
.menu-button.hidden {
display: none;
}
.license-section {
padding: 1rem;
}
.container {
.col-license-icon {
text-align: center;
grid-column: span 12;
@media screen and (min-width: #{$grid-medium-breakpoint}) {
grid-column: span 2;
position: relative;
top: calc(50% - 40px);
}
@media screen and (min-width: #{$grid-large-breakpoint}) {
grid-column: span 3;
}
> svg {
border: 0.03125rem solid #444;
border-radius: 100%;
padding: 0.5rem;
fill: #444;
}
}
.col-license-text {
vertical-align: middle;
grid-column: span 12;
@media screen and (min-width: #{$grid-medium-breakpoint}) {
grid-column: span 10;
}
@media screen and (min-width: #{$grid-large-breakpoint}) {
grid-column: span 9;
}
}
}
h2.index-section {
font-size: 2.25rem;
border-left: 0.3125rem solid #de4a6d;
padding-left: 0.625rem;
margin-top: 2rem;
}
.card.contributor {
height: calc(100% - 1rem);
justify-content: left;
> .section.media {
height: auto;
}
> .section.button {
font-size: 0.75rem;
font-weight: 700;
text-align: center;
transition: color 0.3s;
&:hover,
&:focus {
color: var(--a-l-col);
background: #f8f8f8;
}
}
}
.card.fluid.contribution-guideline {
overflow: visible;
margin-top: 3rem;
padding: 8px;
padding-bottom: 0.25rem;
h3 {
font-size: 1.5rem;
padding-top: 0.5rem;
text-align: center;
}
}
.contribution-guideline + .contribution-guideline {
&:before,
&:after {
content: "";
position: relative;
top: -2.75rem;
width: 0.375rem;
height: 0.375rem;
background: #ddd;
border: 0.03125rem solid #d0d0d0;
border-radius: 100%;
left: calc(50% - 0.1875rem);
box-shadow: inset -0.03125rem -0.03125rem 0.03125rem rgba(0, 0, 0, 0.05);
}
&:after {
position: absolute;
top: - 1.875rem;
}
&:before {
position: absolute;
top: -2.75rem;
}
}
.contribution-number {
position: absolute;
top: -1.125rem;
left: calc(50% - 1.125rem);
font-size: 1.5rem;
background: linear-gradient(
135deg,
rgba(255, 174, 39, 1) 0%,
rgba(222, 73, 109, 1) 100%
);
border: 0.03125 solid #ddd;
width: 2.25rem;
font-weight: 500;
text-align: center;
height: 2.25rem;
border-radius: 100%;
font-weight: 700;
color: #fff;
}
*/
display: block;
transition: all 0.3s ease;
&:link, &:visited {
color: var(#{$fore-color-var});
&:hover {
color: var(#{$a-link-color-var});
text-decoration: none;
}
}
}