-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (108 loc) · 1.97 KB
/
style.css
File metadata and controls
112 lines (108 loc) · 1.97 KB
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
/*variable declaration*/
:root{
--primary-dark:hsl(185,75%,39%);
--primary-dark-700: hsl(229, 23%, 23%);
--secondary-dark: hsl(227, 10%, 46%);
--neutral-dark:hsl(0,0%,59%);
}
/*box sizing*/
*,
*::before,
*::after{
margin:0;
padding:0;
box-sizing: border-box;
}
/*unordered list bottom of the card*/
ul,li{
list-style: none;
display:inline-flex;
gap:3rem;
}
body{
background-color: var(--primary-dark);
font-family: 'kumbh sans',sans-serif;
font-size:inherit;
height:100vh;
width:100vw;
display: grid;
place-items: center;
overflow:hidden;
}
/*positioning the svgs*/
#top{
position:absolute;
width:50%;
left:-2rem;
top:-10rem;
}
#bottom{
position:absolute;
width:50%;
right:-3rem;
bottom:-15rem;
overflow:hidden;
}
/*main card body*/
.content{
position:absolute;
width:18rem;
height: auto;
padding-bottom: 0.75rem;
background:#FFF;
border-radius: 10px;;
}
.card-header img{
width:100%;
height:7rem;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin-bottom: 5rem;
}
.card-body{
background:#FFF;
text-align: center;
position:relative;
}
.img-container img{
position:absolute;
border-radius: 50px;
top:-125px;
left:95px;
border:4px solid #FFF;
}
.txt-container h3{
font-size:18px;
font-weight:700;
}
.txt-container h5{
color:var(--neutral-dark);
font-weight:400;
}
.age-header{
color:var(--neutral-dark);
}
.txt-container h5::after{
content:"";
position:absolute;
top:3rem;
bottom:0;
left:0;
width:100%;
height:0.06rem;
background:var(--neutral-dark);
}
.link-container{
margin-top: 1.25rem;
padding-bottom:0.125rem;
}
.links{
display:block;
}
.link1{
font-weight:700;
}
.link2{
font-weight: 400;
color: var(--neutral-dark);
}