-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (100 loc) · 1.45 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
100
101
*{
padding:0;
margin: 0;
}
body{
margin: 100px auto;
background-color: #fff;
font-family: 'arial';
box-sizing: border-box;
padding:0;
}
#arch{
margin: 50 auto;
width: 1000px;
clear:both;
}
#left{
float:left;
}
#right{
float: right;
}
#maintitle{
font-size: 10em;
color: blue;
text-align: center;
padding: 0;
margin:0;
}
#subtitle{
font-size: 4em;
color: blue;
text-align: center;
}
#container{
padding:0px;
clear: both;
margin: 50px auto;
width: 550px;
align-content: center;
}
.verticalcenter{
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.row{
/*display: inline-block;*/
clear: both;
width:100%;
height: 150px;
padding: 0;
margin:0;
flex-wrap: nowrap;
}
.cellExpand{
/*display: none;*/
}
.cell{
/*width:33%;*/
display: inline-block;
position: relative;
width: 150px;
}
.art{
opacity:1;
display: block;
width:100%;
height:auto;
transition: .5s ease;
backface-visibility: hidden;
}
.art:hover{
/*opacity: 0.3;*/
transition: 0.3s;
}
.cell:hover .art{
opacity: 0.3s;
}
.cell:hover .middle{
opacity: 1;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
}
.middle text{
background-color: #000;
color: #fff;
}
#three::after{
align-content: left;
content: "";
}