forked from twitter/opensource-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.scss
130 lines (110 loc) · 2.19 KB
/
index.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* 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%;
}
}