-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.scss
97 lines (91 loc) · 1.5 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
@import "include-media";
html {
height: 100%;
}
body {
margin: 0;
text-align: center;
height: 90%;
}
h1 {
font-size: 3em;
@include media(">desktop") {
font-size: 3em;
}
}
p {
font-size: 1.5em;
@include media(">desktop") {
font-size: 1.5em;
}
}
div {
img {
width: 80%;
@include media(">desktop") {
width: auto;
height: 100%;
}
}
@include media(">desktop") {
height: 60%;
}
}
button {
margin: 0.55em 0.5em 0.55em 0.5em;
background-color: #eded34;
border-radius: 1em;
border: 0.0625em solid #736dc7;
display: inline-block;
cursor: pointer;
color: #736dc7;
font-size: 1em;
padding: 1em 2em;
text-decoration: none;
text-shadow: 0px 1px 0px #2f6627;
&:hover {
background-color:#f5f593;
}
&:active {
position:relative;
top:1px;
}
@include media(">desktop") {
margin: 2em 0.5em 2em 0.5em;
font-size: 1.5em;
}
}
div#credits {
position: fixed;
top:0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
width: 70%;
height: 20em;
background-color: grey;
padding: 1em;
border-radius: 2em;
border: 0.125em solid black;
#close-credits {
margin: 0;
padding: 0 0.5em;
background-color: grey;
border-radius: 10em;
border: 0.0625em solid black;
color: black;
position: absolute;
top: -0.5em;
right: -0.75em;
font-size: 2em;
@include media(">desktop") {
font-size: 2em;
}
}
@include media(">desktop") {
padding: 1em;
width: 50%;
height: 20em;
}
}