forked from fdnd-task/your-tribe-profile-card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (95 loc) · 2.15 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: center;
}
/* main box */
.maincontainer{
position: absolute;
width: 250px;
height: 320px;
margin-left: 40%;
margin-right: 40%;
margin-top: 8%;
}
/* Box */
.thecard{
position: absolute;
width: 100%;
height: 100%;
transform-style: preserve-3d;
transition: all 0.5s ease;
padding-left: 1rem;
padding-right: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
.thecard:hover{
transform: rotateY(180deg);
}
/* the front of my card typografie en size */
.thefront{
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
background: #ffc728;
background-image: url(assets/IMG_7648.JPG);
background-size: cover;
text-align: center;
font-family: 'Times New Roman', Times, serif;
margin-top: 1rem;
border-radius: 20px;
font-size: 30px;
font-weight: bold;
color: #333;
box-shadow: 10px 10px 5px rgb(191, 206, 211);
padding-left: 1rem;
padding-right: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
/* the back of my card typografie en size */
.theback{
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
background-image: linear-gradient(beige,rgb(105, 167, 175));
color: #fff;
transform: rotateY(180deg);
text-align: center;
font-family: 'Times New Roman', Times, serif;
margin-top: 1rem;
border-radius: 20px;
font-size: 14px;
font-weight: bold;
box-shadow: 10px 10px 5px rgb(191, 206, 211);
padding-left: 1rem;
padding-right: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
/* heading 1 features */
h1{
color: #345e30;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
position: relative;
line-height: 1em;
margin-bottom: 10px;
margin-top: 2rem;
font-family: 'Times New Roman', Times, serif;
}
/* paragraph features */
p{
color: #403c3c;
position: center;
font-size: 14px;
margin-bottom: 10px;
margin-top: 15px;
font-family: 'Times New Roman', Times, serif;
}
.green{
color: #85b481;
}