-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
140 lines (121 loc) · 2.42 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
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
/* Global ayarlar */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-image: url("/images/KarbonBackground.jpg");
background-size: cover;
margin: 0;
padding: 0;
}
.title-carbon{
color: #ffffff;
}
.container {
width: 90%;
max-width: 1000px;
margin: 50px auto;
background-color: #ffffff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease-in-out;
}
.container:hover {
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}
h1 {
text-align: center;
color: #333333;
font-size: 2.5em;
margin-bottom: 20px;
}
h2 {
color: #555;
font-size: 1.5em;
border-bottom: 2px solid #4CAF50;
padding-bottom: 10px;
}
/* Flex düzen */
.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.flex-item {
flex: 1;
min-width: 45%;
margin: 10px;
padding: 15px;
background-color: #f8f8f8;
border: 1px solid #e0e0e0;
border-radius: 10px;
}
/* İkonlar için hizalama */
h2 img {
vertical-align: middle;
margin-right: 10px;
}
label {
display: block;
margin-top: 10px;
margin-bottom: 5px;
font-weight: bold;
font-size: 1.1em;
}
input[type="number"], select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1.1em;
box-sizing: border-box;
transition: border-color 0.3s;
}
input[type="number"]:focus, select:focus {
border-color: #4CAF50;
outline: none;
}
button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
font-size: 1.1em;
cursor: pointer;
margin: 5px 0;
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: #45a049;
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
#sonuc {
font-size: 1.8em;
color: rgb(57, 148, 19);
font-weight: bold;
text-align: center;
margin-top: 30px;
background-color: #f8f9fa;
padding: 15px;
border-radius: 50px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Responsive ayarlar */
@media (max-width: 768px) {
.flex-item {
min-width: 100%;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.2em;
}
input[type="number"], select {
width: 100%;
}
}