-
Notifications
You must be signed in to change notification settings - Fork 0
/
hakkimizda.css
130 lines (113 loc) · 2.3 KB
/
hakkimizda.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
::-webkit-scrollbar{
background: rgb(173, 238, 148);
width: 14px;
}
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
height: 100vh;
background: linear-gradient(
to bottom,
#757373,
aqua) no-repeat center center fixed;
background-size: cover;
}
.container {
width: 55vw;
height: 70vh;
margin: 20px auto;
padding: 20px;
background-color: rgba(255, 255, 255, 0.8);
box-shadow: 0 0 10px rgba(0,0,0,0.1);
border-radius: 15px;
}
header {
text-align: center;
padding: 20px 0;
background: aqua;
color: white;
border-radius: 15px 15px 0 0;
}
header h1 {
margin: 0;
font-size: 2.5em;
}
.kimim {
width: 53vw;
height: 55vh;
display: flex;
flex-wrap: wrap;
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
margin-top: 20px;
}
.fotograf {
flex: 1;
padding: 10px;
}
.fotograf img {
max-width: 100%;
height: auto;
border-radius: 10px;
width: 30vw;
height: 35vh;
}
.paragraf {
flex: 3;
padding: 10px;
}
.paragraf h2 {
color: aqua;
margin-top: 0;
}
.paragraf p {
line-height: 1.6;
margin: 10px 0;
}
.btn {
margin: 15px;
position: relative;
left: 1640px;
font-size: 15px;
text-transform: uppercase;
text-decoration: none;
padding: 1em 2.5em;
display: inline-block;
border-radius: 6em;
transition: all .2s;
border: none;
font-family: inherit;
font-weight: 500;
color: black;
background-color: rgb(255, 255, 255);
cursor: pointer;
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn:active {
transform: translateY(-1px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.btn::after {
content: "";
display: inline-block;
height: 100%;
width: 100%;
border-radius: 100px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
transition: all .4s;
}
.btn::after {
background-color: #fff;
}
.btn:hover::after {
transform: scaleX(1.4) scaleY(1.6);
opacity: 0;
}