-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
142 lines (122 loc) · 2.39 KB
/
style.css
File metadata and controls
142 lines (122 loc) · 2.39 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
:root {
--primary-color: #2c3e50;
--secondary-color: #3498db;
--background-color: #f5f6fa;
--text-color: #2c3e50;
--border-color: #dcdde1;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: var(--background-color);
color: var(--text-color);
}
.container {
max-width: 1200px;
margin: 2rem auto;
padding: 0 1rem;
}
h1 {
text-align: center;
color: var(--primary-color);
margin-bottom: 2rem;
}
.input-section {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin-bottom: 2rem;
}
.url-input {
margin-bottom: 1rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: bold;
}
input {
width: 100%;
padding: 0.8rem;
margin-bottom: 1rem;
border: 1px solid var(--border-color);
border-radius: 4px;
font-size: 1rem;
}
button {
background-color: var(--secondary-color);
color: white;
padding: 1rem 2rem;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
width: 100%;
transition: background-color 0.3s;
}
button:hover {
background-color: #2980b9;
}
.results-section {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.comparison-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
.results-content {
margin-top: 1rem;
}
.spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid var(--secondary-color);
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 1rem auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.hidden {
display: none;
}
.metric-card {
background: #f8f9fa;
padding: 1rem;
margin-bottom: 1rem;
border-radius: 4px;
border-left: 4px solid var(--secondary-color);
}
.metric-card h4 {
margin: 0 0 0.5rem 0;
color: var(--primary-color);
}
.error {
color: #e74c3c;
padding: 1rem;
background: #fde2e2;
border-radius: 4px;
margin-top: 1rem;
}
.success {
color: #27ae60;
padding: 1rem;
background: #e3fcec;
border-radius: 4px;
margin-top: 1rem;
}
@media (max-width: 768px) {
.comparison-container {
grid-template-columns: 1fr;
}
}