-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
199 lines (153 loc) · 3.21 KB
/
style.css
File metadata and controls
199 lines (153 loc) · 3.21 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
*{ /*all tags uygula*/ box-sizing: border-box; }
body{
margin: 0;
padding: 0;
height: 100%;
background-color: #f0deca;
font-family: 'Chonburi', cursive;
}
#social{
background-color: #faeddf;
color: #7a5932;
width: 100%;
height: 10%;
/* this bar yapışsın */
position: sticky;
top: 0;
z-index: 1;
font-size: 15px;
text-align: right;
padding: 15px;
}
/*socialikonları sağ alma ve hover ekleme*/
i{ margin-right: 15px; }
#social>i:hover{ opacity: 0.4; }
font{ float: left; letter-spacing: 5px; }
span{ font-size: 10px; letter-spacing: 2px; }
#container, #header {
width: 80%;
margin: auto;
height: auto;
}
#container{ border: 1px solid #198597; }
header{
width: auto;
height: auto;
box-shadow: 0 5px 15px 5px rgba(207, 137, 74, 0.5);
font-family: 'Potta One', cursive;
/* golgeye ovallik katma */
border-radius: 25px;
margin-bottom: 25px;
}
#headerImage{
width: 100%;
height: 450px;
opacity: 0.7;
/* resme ovallik katma */
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
}
#centered{
position: absolute; /* ise bir ust tag relative olmali */
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
section{
width:auto;
height:auto;
background-color: #d99e53;
position: relative;
box-shadow: 0 5px 15px 5px rgba(0, 0, 0, 0.5);
margin-top: 15px;
overflow: auto;
border-top-left-radius: 25px;
border-top-right-radius: 25px;
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
}
nav{
width:auto;
height: auto;
margin-top:10px;
display: block;
}
/*
nav ul{
width: auto;
*/
nav li{
list-style-type: none; /*noktalar gitti*/
display: inline;
margin: 10px;
}
nav li a{
height: 50px;
line-height: 50px;
text-decoration: none;
color: black;
padding-left:5px;
}
nav li a:hover{
border-radius: 10px;
color:#29C4DE;
background-color: #f6dfb1;
border-bottom: 1px solid #7c7878;
}
main{
float: left; /*soluna aksın*/
height: auto;
width: auto;
padding: 10px;
}
.content{
width: 31%;
height: auto;
display: inline-block; /*ayni satirda bloklari olusturur*/
margin: 10px;
border-radius: 10px;
box-shadow: 0 5px 15px 5px rgba(0, 0, 0, 0.5);
}
.images{
width: 100%;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
h3{
margin:10px;
color: #198597;
}
.contentparagraph{
margin: 10px;
color: white;
}
.button{
display: block;
width: auto;
height: 45px;
padding: 10px 20px;
background-color: #198597;
color: white;
text-decoration: none;
border-radius: 10px;
margin: 15px;
}
.button:hover{
color:#29C4DE;
background-color: #f6dfb1;
border-bottom: 1px solid #7c7878;
}
.images{
width:100%;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
transition: opacity 1s;
}
.images:hover{ opacity: 0.5; transform: scale(1.2); }
footer{
width:auto;
height:25px;
line-height: 25px;
text-align: center;
box-shadow: 0 5px 15px 5px rgba(207, 137, 74, 0.5);
}