-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.scss
128 lines (104 loc) · 1.9 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
@import '_universal';
@import '_header';
@import '_footer';
#main {
width: 95%;
margin: auto;
padding-bottom: 50px;
.left {
p {
text-transform: uppercase;
font-weight: 100;
font-size: 24px;
}
h1, p {
padding-left: 20px;
}
img {
margin-left: 20px;
// Necessary to use margin here to prevent the image from deforming.
}
a {
color: inherit;
}
a:hover {
color: $link;
}
}
.right {
background-image: url('img/aiart.png');
background-position: left top;
margin-bottom: 20px;
}
@media only screen and (min-width: 600px) {
.left, .right {
display: inline-block;
vertical-align: middle;
}
.left {
width: 45%;
height: calc(100vh - 80px);
}
.left > div {
padding-top: 25vh;
}
.right {
width: 54%;
height: calc(100vh - 100px);
}
}
@media only screen and (max-width: 600px) {
.left {
height: calc(40vh - 40px);
width: 100%;
}
.left > div {
padding-top: 5vh;
}
.right {
height: calc(70vh - 110px);
width: 80%;
margin: auto;
}
}
@media only screen and (max-width: 600px) and (max-height: 575px) {
.right {
visibility: hidden;
}
}
@media only screen and (max-width: 310px) and (max-height: 710px) {
.right {
visibility: hidden;
}
}
@media only screen and (max-height: 600px) {
.left > div {
padding-top: 5vh;
}
}
}
#introduction {
padding-bottom: 50px;
.box-container {
display: flex;
justify-content: center;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
p {
margin-bottom: 40px;
text-indent: 24px;
}
svg {
margin-right: 16px;
display: inline-block;
vertical-align: middle;
fill: $dark-gray;
}
}
#see {
background-color: #555;
background-position: center;
}