-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
112 lines (88 loc) · 1.64 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
102
103
104
105
106
107
108
109
110
111
112
@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: whitesmoke;
font-family: 'Sacramento', cursive;
}
h1{
text-align: center;
margin-top: 25px;
margin-bottom: 15px;
font-size: 60px;
letter-spacing: 5px;
}
.loader {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: (255,255,255,0.8);
}
.loader img {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* Image Container */
.image-container{
margin:10px 30%;
}
.image-container img{
width: 100%;
margin-top: 5px;
}
.item-inner {
width: 100%;
height: 100%;
text-align: center;
transition: transform 1s;
transform-style: preserve-3d;
}
.item-front, .item-back {
top: inherit;
bottom: inherit;
left: inherit;
right: inherit;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.item-front{
z-index: 2;
}
.item-back {
position: absolute;
top: 0;
left: 0;
background-color: whitesmoke;
z-index: 1;
transform: rotateY(180deg);
}
.item-inner:hover {
transform: rotateY(180deg);
}
.h1-author, .h1-desc{
margin-top: 5px;
margin-bottom: 5px;
font-size: 45px;
letter-spacing: 2px;
}
/* Media Query: Large Smartphone */
@media screen and (max-width:600px){
h1{
font-size: 40px;
}
.h1-author, .h1-desc{
font-size: 35px;
}
.image-container{
margin:12px
}
}