mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 06:20:30 +02:00
light and dark theme and other stuff
This commit is contained in:
parent
ed0b2f5e66
commit
fd698f6ccf
6 changed files with 194 additions and 63 deletions
80
style.css
80
style.css
|
@ -7,10 +7,14 @@ body {
|
|||
font-family: monospace;
|
||||
background-color: #2a2a2a;
|
||||
transition: background-color 0.3s, color 0.3s;
|
||||
color: white;
|
||||
color: #f0f0f0;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: #3c7855;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -28,7 +32,7 @@ body {
|
|||
|
||||
.home {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
color: #f0f0f0;
|
||||
padding: 10px;
|
||||
background-color: rgba(75, 75, 75, 1);
|
||||
border: 2px solid rgba(80, 80, 80, 1);
|
||||
|
@ -36,6 +40,8 @@ body {
|
|||
transition: 0.3s;
|
||||
margin-left: 25px;
|
||||
margin-right: -10px;
|
||||
user-select: none;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.theme-button {
|
||||
|
@ -58,7 +64,7 @@ body {
|
|||
}
|
||||
|
||||
.welcome * {
|
||||
color: white;
|
||||
color: #f0f0f0;
|
||||
}
|
||||
|
||||
.tools-main {
|
||||
|
@ -80,35 +86,93 @@ body {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
height: 75%;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.tool-header {
|
||||
margin-bottom: 0;
|
||||
padding-top: 15px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.tool-desc {
|
||||
margin: 5px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#tool-div img {
|
||||
height: 200px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.visit-tool {
|
||||
padding: 10px 20px;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 12px;
|
||||
padding-right: 20px;
|
||||
padding-left: 20px;
|
||||
|
||||
background-color: rgb(60, 120, 85);
|
||||
color: white;
|
||||
color: #f0f0f0;
|
||||
border: 2px solid rgb(75, 135, 100);
|
||||
border-radius: 4px;
|
||||
margin-top: auto;
|
||||
margin-bottom: -10px;
|
||||
transition: 0.1s;
|
||||
font-weight: bolder;
|
||||
font-size: large;
|
||||
margin-bottom: 15px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.visit-tool:hover {
|
||||
background-color: rgb(75, 135, 100);
|
||||
border-color: rgb(90, 150, 115);
|
||||
}
|
||||
|
||||
|
||||
.slideshow-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.tool-image {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.prev, .next {
|
||||
cursor: pointer;
|
||||
top: 50%;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
color: #f0f0f0;
|
||||
background-color: #747474;
|
||||
border: none;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
transition: 0.1s ease;
|
||||
user-select: none;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.prev:hover,
|
||||
.next:hover {
|
||||
scale: 1.01;
|
||||
background-color: #808080;
|
||||
}
|
||||
|
||||
.prev {
|
||||
left: 0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.next {
|
||||
right: 0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue