-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (87 loc) · 1.38 KB
/
style.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
.container{
margin: 0;
border: 0;
height: 100%;
}
#article{
height:500px;
width:500px;
text-align: center;
/*background-color:red;*/
border-radius: 10px;
margin: 0 auto;
}
.title {
padding-top: 2%;
padding-left: 5%;
font-family: 'Monofett', cursive;
font-size: 70px;
}
.box, .rotatebox{
width:150px;
height:150px;
border: 2px solid white;
text-align: center;
border-radius: 10px;
-moz-box-shadow: 10px 10px 5px #888;
-webkit-box-shadow: 10px 10px 5px #888;
box-shadow: 10px 10px 5px #888;
transition: 1s;
}
/*create animation to constantly rotate the box on hover,
if hover is true then rotate constantly*/
.rotatebox {
transform: rotate(360deg);
width: 175px;
height: 175px;
transition: 1s;
z-index: 1;
background-color: blue;
}
.topleft {
position: fixed;
}
.r{
background-color: red;
}
.g{
margin-left:15px;
margin-right:15px;
background-color: green;
right: 42%;
}
.b{
background-color: orange;
right: 29%;
}
p {
display: table-cell;
width: 150px;
height: 150px;
vertical-align: middle;
text-align: center;
font-family: arial;
font-size: 35pt;
color: lightgray;
}
/*the usual suspects begin*/
.float_right{
float: right;
}
.float_left{
position: fixed;
}
/*needed to cause auto expansion of container div*/
/*.clearboth{
clear: both;
}*/
/*the usual suspects end*/
html {
}
body {
}
.title {
text-align: center;
}
.bottomrow {
}