-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (83 loc) · 1.62 KB
/
style.css
File metadata and controls
106 lines (83 loc) · 1.62 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
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: inherit;
}
:root {
--bg: #F5F5F5;
--fg: #141414;
--cardbg: #EEE;
--buttonbg: #cacaca;
--accent: green;
--border: 5px;
--shadow: 0 10px 10px rgba(0, 0, 0, 0.35);
}
body {
background-color: var(--bg);
color: var(--fg);
font-family: 'Raleway', sans-serif;
}
.card {
width: 45%;
margin: 5% auto;
padding: 50px;
background-color: var(--cardbg);
border-radius: var(--border);
box-shadow: var(--shadow);
}
.photo {
margin: 10px auto;
width: 250px;
height: 250px;
border-radius: 50%;
overflow: hidden;
box-shadow: var(--shadow);
}
.photo img{
width: 100%;
height: 100%;
object-fit: cover;
}
.greeting {
margin-top: 15px;
text-align: center;
font-size: 40px;
}
.subtitle {
margin-top: 10px;
font-size: 20px;
}
.text {
font-size: 15px;
text-align: justify;
font-weight: lighter;
}
.block {
margin-bottom: 20px;
}
.List_item {
list-style: none;
}
.buttons {
width: 100%;
display: flex;
align-items: center;
justify-content: space-evenly;
}
.button {
background-color: var(--buttonbg);
text-decoration: none;
color: var(--fg);
font-size: 15px;
padding: 10px;
border-radius: var(--border);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
transition: all .3s ease-out;
}
.button:hover{
background-color: var(--accent);
box-shadow: 0 7px 7px rgba(0, 0, 0, 0.35);
transform: translateY(-4px);
cursor: pointer;
}