better colors and fonts
This commit is contained in:
parent
62b0140530
commit
93f90bdbdd
2 changed files with 138 additions and 47 deletions
183
css/style.css
183
css/style.css
|
|
@ -2,79 +2,85 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||||
|
line-height: 1.6;
|
||||||
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 15px;
|
padding: 20px 40px;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
box-shadow: 0 10px 10px lightblue;
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
||||||
|
|
||||||
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
||||||
|
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > img {
|
header > img {
|
||||||
aspect-ratio: initial;
|
aspect-ratio: initial;
|
||||||
height: 50px;
|
height: 55px;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*https://getcssscan.com/css-buttons-examples button 6*/
|
/*https://getcssscan.com/css-buttons-examples button 6*/
|
||||||
|
|
||||||
nav > a {
|
nav > a {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
margin: 0;
|
||||||
|
padding: calc(0.675rem - 1px) calc(1.2rem - 1px);
|
||||||
|
min-height: 3rem;
|
||||||
|
|
||||||
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
||||||
border-radius: 0.25rem;
|
border-radius: 8px;
|
||||||
|
|
||||||
box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
|
box-shadow: rgba(0, 0, 0, 0.04) 0 2px 4px 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-flex;
|
|
||||||
|
|
||||||
font-family:
|
text-decoration: none;
|
||||||
system-ui,
|
font-family: inherit;
|
||||||
-apple-system,
|
font-size: 15px;
|
||||||
system-ui,
|
font-weight: 500;
|
||||||
"Helvetica Neue",
|
|
||||||
Helvetica,
|
|
||||||
Arial,
|
|
||||||
sans-serif;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
|
|
||||||
margin: 0;
|
transition: all 0.2s ease;
|
||||||
min-height: 3rem;
|
|
||||||
padding: calc(0.675rem - 1px) calc(1.2rem - 1px);
|
|
||||||
position: relative;
|
|
||||||
text-decoration: none;
|
|
||||||
transition: all 250ms;
|
|
||||||
user-select: none;
|
|
||||||
vertical-align: baseline;
|
|
||||||
width: auto;
|
|
||||||
|
|
||||||
animation: 0.5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.current-tab {
|
|
||||||
background-color: #bbbbbb !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav > a:hover {
|
nav > a:hover {
|
||||||
background-color: #eeeeee;
|
background-color: #f5f6f7;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.08) 0 4px 8px 0;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.current-tab {
|
||||||
|
background-color: #75b700;
|
||||||
|
color: white;
|
||||||
|
box-shadow: #75b70040 0 4px 12px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.current-tab:hover {
|
||||||
|
background-color: #559700;
|
||||||
|
color: white;
|
||||||
|
box-shadow: #55970040 0 4px 12px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
|
@ -84,36 +90,121 @@ nav {
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
margin-top: 100px;
|
margin-top: 130px;
|
||||||
width: 50vw;
|
width: 50vw;
|
||||||
margin-left: 25vw;
|
margin-left: 25vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border: 1px solid black;
|
width: 100%;
|
||||||
|
margin: 2rem 0;
|
||||||
|
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
gap: 0;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
th:first-child {
|
||||||
|
border-bottom-left-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
th:last-child {
|
||||||
|
border-bottom-right-radius: 8px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
th:last-child::before {
|
||||||
|
content: "";
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
|
||||||
|
background-color: #27ae60;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
width: 33%;
|
||||||
|
padding: 1rem;
|
||||||
|
|
||||||
|
background-color: #2c3e50;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
border: none;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
width: 33%;
|
padding: 0.875rem 1rem;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
td,
|
tr:last-child td {
|
||||||
th {
|
border-bottom: none;
|
||||||
border: 1px solid black;
|
}
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
td:first-child {
|
||||||
|
text-align: left;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #2c3e50;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.great {
|
td.great {
|
||||||
background-color: green;
|
background-color: #27ae60;
|
||||||
|
color: white;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.sad {
|
td.sad {
|
||||||
background-color: red;
|
background-color: #e74c3c;
|
||||||
|
color: white;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.ok {
|
td.ok {
|
||||||
background-color: yellow;
|
background-color: #f39c12;
|
||||||
|
color: white;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
font-weight: 600;
|
||||||
|
color: #2c3e50;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
margin-top: 2.5rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #3498db;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Lepší karty podporují RTX / Ray Tracing</td>
|
<td>Lepší karty podporují RTX</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue