water.css/docs/style.css

97 lines
1.5 KiB
CSS
Raw Normal View History

html {
scroll-behavior: smooth;
}
2020-05-28 14:54:07 -05:00
#product-hunt {
margin-top: 1rem;
}
2020-05-30 04:35:33 +02:00
#link-snippet-headline {
margin: 1rem 2.5rem 1rem 0;
}
2020-05-27 21:10:50 -05:00
2020-05-30 04:35:33 +02:00
/* Make the feedback Emoji appear next to the button */
2020-05-30 04:27:57 +02:00
#copy-button {
position: relative;
2020-05-28 14:40:02 -05:00
margin-right: 2px;
overflow: visible;
}
2020-05-27 21:10:50 -05:00
2020-05-30 04:27:57 +02:00
#copy-button-feedback {
position: absolute;
left: -2rem;
display: inline-block;
transform: scale(1.3);
}
2020-05-30 04:35:33 +02:00
#link-snippet-container {
overflow: hidden;
display: grid;
display: -ms-grid;
-ms-grid-columns: 1fr;
}
#link-snippet-container > pre {
overflow: auto;
grid-column: 1;
grid-row: 1;
transition: transform 220ms cubic-bezier(0.175, 0.885, 0.32, 1) 220ms;
2020-05-30 04:35:33 +02:00
}
#link-snippet-container > pre[hidden] {
display: block;
visibility: hidden;
transform: scale(0);
transition: transform 220ms cubic-bezier(0.175, 0.885, 0.32, 1), visibility 0ms 220ms;
2020-05-30 04:35:33 +02:00
}
2020-05-28 14:40:02 -05:00
#theme-form > label:not(:last-of-type) {
margin-right: 1rem;
}
2020-05-27 21:10:50 -05:00
2020-05-28 14:40:02 -05:00
#version-info th {
width: 35%;
}
2019-05-31 00:36:55 +02:00
body > footer {
2020-05-30 04:35:33 +02:00
text-align: right;
2019-05-31 00:36:55 +02:00
}
.row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
2024-10-02 13:02:38 +05:30
/* toggle dark theme */
#theme-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
}
#theme-toggle {
2024-10-02 13:02:38 +05:30
width: 50px;
height: 50px;
2024-10-02 13:02:38 +05:30
padding: 0;
background-color: #dddbdb;
border: none;
2024-10-02 13:02:38 +05:30
border-radius: 50%;
cursor: pointer;
box-shadow: 0 2px 5px #0003;
color: #000;
}
#theme-toggle:hover {
color: #fff;
}
#themeIcon {
height: 25px;
width: 25px;
display: block;
2024-10-02 13:02:38 +05:30
margin: 0 auto;
}