Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.scss #298

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 21 additions & 128 deletions assets/css/index.scss
Original file line number Diff line number Diff line change
@@ -1,130 +1,23 @@
/* Styles specific to home page */

.content {
padding: 0;
}

.grey {
background-color: var(--tw-color-gray-faint);

@media (prefers-color-scheme: dark) {
background-color: var(--tw-color-gray-1100);
color: white;
}
}

.small-container {
max-width: calc(var(--feather-grid-page-width) - var(--feather-grid-mega) * 4);
margin: 0 auto;
}

.twitter-timeline, .timeline-cell {
height: 500px;
}


@media (min-width: 600px) {
#follow-us .container {
display: flex;
flex-direction: row-reverse;
> div {
flex: 1 1 50%;
}
}
#open-source-text {
display: flex;
flex-direction: column;
justify-content: center;
}
}
.open-source-title a {
text-decoration: none;
&:link, &:visited {
color: inherit;
}
&:hover, &:active {
color: var(--tw-color-text-link);
}
}


/* Center text vertically */

#career-text {
text-align: center;
}
@media (min-width: 600px) {
#career .container {
display: flex;
> div {
flex: 1 1 50%;
}
}
#career-text {
text-align: left;
margin-top: 100px;
}
}

/* Our Philosophy - images */

#emoji-cards {
display: flex;
flex-direction: column;
margin: auto;
}
.emoji-card {
padding: var(--feather-grid-large) var(--feather-grid-mega);
max-width: 600px;
margin: 0 auto;
flex: 1 1 33%;
}

@media (min-width: 900px) {
#emoji-cards {
flex-direction: row;
}
}

img.emoji-img {
display: block;
width: 175px;
height: 175px;
}

/* Home page media queries */

/* Less than --feather-grid-page-width + (--feather-grid-mega * 2) */
@media (max-width: 1236px) {
.home-header {
padding-bottom: calc(var(--feather-grid-mega) * 1.5);
}
}

/* Explore Projects */

#explore-projects {
background-image: url("../assets/network.svg");
background-repeat: no-repeat;
background-size: auto 380px;
background-position: bottom left 5vw;

@media (min-width: 600px) {
background-position: bottom left 35vw;
}
@media (min-width: 1100px) {
background-position: bottom right;
}
}
.explore-text {
// space to display network graphic
margin-bottom: 320px;

@media (min-width: 600px) {
margin-bottom: 0;
max-width: 35%;
}
@media (min-width: 1100px) {
max-width: 40%;
}
.content{padding:0}
.grey{background-color:var(--tw-color-gray-faint);@media (prefers-color-scheme:dark){background-color:var(--tw-color-gray-1100);color:white}
}.small-container{max-width:calc(var(--feather-grid-page-width) - var(--feather-grid-mega) * 4);margin:0 auto}
.twitter-timeline,.timeline-cell{height:500px}
@media (min-width:600px){#follow-us .container{display:flex;flex-direction:row-reverse;> div{flex:1 1 50%}
}#open-source-text{display:flex;flex-direction:column;justify-content:center}
}.open-source-title a{text-decoration:none;&:link,&:visited{color:inherit}
&:hover,&:active{color:var(--tw-color-text-link)}
}#career-text{text-align:center}
@media (min-width:600px){#career .container{display:flex;> div{flex:1 1 50%}
}#career-text{text-align:left;margin-top:100px}
}#emoji-cards{display:flex;flex-direction:column;margin:auto}
.emoji-card{padding:var(--feather-grid-large) var(--feather-grid-mega);max-width:600px;margin:0 auto;flex:1 1 33%}
@media (min-width:900px){#emoji-cards{flex-direction:row}
}img.emoji-img{display:block;width:175px;height:175px}
@media (max-width:1236px){.home-header{padding-bottom:calc(var(--feather-grid-mega) * 1.5)}
}#explore-projects{background-image:url("../assets/network.svg");background-repeat:no-repeat;background-size:auto 380px;background-position:bottom left 5vw;@media (min-width:600px){background-position:bottom left 35vw}
@media (min-width:1100px){background-position:bottom right}
}.explore-text{// space to display network graphic
margin-bottom:320px;@media (min-width:600px){margin-bottom:0;max-width:35%}
@media (min-width:1100px){max-width:40%}
}