-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
85 lines (73 loc) · 1.56 KB
/
styles.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
body {
border: 20%;
margin: 15%;
padding: 30px;
}
#welcome, h1 {
font-family:'Courier New', Courier, monospace;
color: #0D3B66;
font-size: 30px;
font-weight: bold;
}
h3, h4, li{
font-family: 'Courier New', Courier, monospace;
color: navy;
text-align: center;
}
h2 {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
li, h4 {
font-weight: bold;
}
.menu-items {
position: absolute;
top: 10px;
right: 10px;
border: 5%;
margin: 2%;
padding: 1px;
}
#templates {
padding-top: 20px;
color: white;
}
#create-my-own {
padding-top: 20px;
color: white;
}
#iphone {
size: 50%;
margin: auto;
position: relative;
height: auto;
justify-content: center;
}
#typewriter {
overflow: hidden; /* Ensures the content is not revealed until the animation */
border-right: .15em navy; /* The typwriter cursor */
white-space: nowrap; /* Keeps the content on a single line */
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
letter-spacing: .15em; /* Adjust as needed */
animation:
typing 3.5s steps(40, end),
blink-caret .75s step-end infinite;
}
/* The typing effect */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color:navy; }
}
.text-block {
position: absolute;
text-align: center;
top: 50%;
left: 50%;
width: 60%;
transform: translate(-50%, -50%)
}