-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiamonds.css
154 lines (122 loc) · 2.54 KB
/
diamonds.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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
*{
margin: 0px;
padding: 0px;
}
/* Style the navbar */
#navbar {
overflow: hidden;
background-color: #333;
}
/* Navbar links */
#navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px;
text-decoration: none;
}
/* Page content */
.content {
padding: 16px;
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
position: fixed;
top: 0;
width: 100%;
}
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 60px;
}
html{
height: auto;
}
/* Fixed/sticky icon bar (vertically aligned 50% from the top of the screen) */
.icon-bar {
position: fixed;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
/* Style the icon bar links */
.icon-bar a {
display: block;
text-align: center;
padding: 16px;
transition: all 0.3s ease;
color: white;
font-size: 20px;
}
/* Style the social media icons with color, if you want */
.icon-bar a:hover {
background-color: #000;
}
.facebook {
background: #3B5998;
color: white;
}
.twitter {
background: #55ACEE;
color: white;
}
.google {
background: #dd4b39;
color: white;
}
.linkedin {
background: #007bb5;
color: white;
}
.youtube {
background: #bb0000;
color: white;
}
/* Set height of body and the document to 100% to enable "full page tabs" */
body{
height: 100%;
margin: 0;
font-family: Arial;
background-image:url(https://duyt4h9nfnj50.cloudfront.net/resized/1543327678343-w2880-02.jpg);
background-size: 700px 800px;
background-repeat:no-repeat;
}
.title{
position: absolute;
left:50%;
top:40%;
font-size: 30px;
text-align: center;
transform: translateX(-50%)translateY(-50%);
font-family:roboto-mono;
}
.sub1{
position: absolute;
text-align: center;
font-weight: lighter;
left:50%;
top:85%;
transform: translateX(-50%)translateY(-50%);
}
.titleBox{
background-color: lightgrey;
width: 150px;
border: 10px solid brown;
padding: 60px;
margin: 20px;
position:fixed;
top: 20%;
left:50%;
transform:translateX(-50%)translateY(-50%);
}
footer{
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: red;
color: white;
text-align: center;
}