-
Notifications
You must be signed in to change notification settings - Fork 1
/
win.css
106 lines (87 loc) · 1.59 KB
/
win.css
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
*, *:before, *:after {
box-sizing: inherit;
}
@font-face {
font-family: 'Star';
src: url('./resources/fonts/Starjedi.ttf') format("truetype");
}
body {
box-sizing: border-box;
font-family: 'Star', sans-serif;
background-image: url("resources/images/starback.jpg");
color:#FFFF82;
}
.scoring-container {
z-index: 50;
letter-spacing: 0.1em;
position: absolute;
margin-left: 15px;
display: flex;
flex-direction: column;
}
#backBtnEnd {
background: #FFFF82;
color: black;
font-family: 'Star', sans-serif;
font-size: 15px;
padding: 15px;
outline: none;
margin-top: 15px;
}
#backBtnEnd:active {
box-shadow: inset 3px 3px 3px black;
padding-top: 16px;
padding-bottom: 14px;
}
#winpic {
height: 300px;
width: 400px;
background-image: url("resources/images/starwarswin.gif");
background-repeat: no-repeat;
background-size: cover;
margin: auto;
margin-top: 100px;
box-shadow: 0px 0px 40px 40px rgb(41, 41, 41);
}
p {
text-align: center;
}
#board {
transform: perspective(300px) rotateX(25deg);
transform-origin: 50% 100%;
text-align: justify;
position: absolute;
margin-left: -9em;
font-weight: bold;
overflow: hidden;
font-size: 350%;
height: 50em;
width: 18em;
bottom: 0;
left: 50%;
letter-spacing: 20px;
}
#board:after {
position: absolute;
content: ' ';
bottom: 60%;
left: 0;
right: 0;
top: 0;
}
#content {
animation: scroll 100s linear 1s;
position: absolute;
top: 100%;
}
#title, #subtitle {
text-align: center;
}
@keyframes scroll {
0% {
top: 100%;
}
100% {
top: -170%;
}
}