|
@@ -1,19 +1,3 @@
|
|
|
-
|
|
|
-:root {
|
|
|
- --footer-height: 51px;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-:root {
|
|
|
-
|
|
|
- TODO: Variables here were magic colors
|
|
|
- found scattered around in the primary CSS.
|
|
|
- Move them to in their respective themes
|
|
|
- in the future :v
|
|
|
- */
|
|
|
- --element-border-focus: #5f6368;
|
|
|
-}
|
|
|
-
|
|
|
html {
|
|
|
color: var(--main-fg);
|
|
|
background-color: var(--main-bg);
|
|
@@ -56,28 +40,12 @@ a:hover,
|
|
|
}
|
|
|
|
|
|
.search-container {
|
|
|
-
|
|
|
- And cooperate with the footer */
|
|
|
- height: calc(100vh - var(--footer-height));
|
|
|
-
|
|
|
-
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
-
|
|
|
-
|
|
|
text-align: center;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
-
|
|
|
- gap: 1rem
|
|
|
+ margin-top: 10%;
|
|
|
}
|
|
|
|
|
|
.search-container h1 {
|
|
|
font-size: 70px;
|
|
|
-
|
|
|
-
|
|
|
- margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.search-container input,
|
|
@@ -85,34 +53,11 @@ a:hover,
|
|
|
width: 500px;
|
|
|
color: var(--search-container-text-color);
|
|
|
background-color: var(--search-container-background-color);
|
|
|
+ padding: 10px;
|
|
|
font-size: inherit;
|
|
|
font-family: sans-serif;
|
|
|
border: 1px solid var(--search-container-background-border);
|
|
|
border-radius: 25px;
|
|
|
-
|
|
|
-
|
|
|
- padding: 10px 16px;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.search-container input:focus,
|
|
|
-.sub-search-container input:focus {
|
|
|
- border: 1px solid var(--element-border-focus);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
- from real input */
|
|
|
-.search-container input::placeholder,
|
|
|
-.sub-search-container input::placeholder {
|
|
|
- font-style: italic;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.search-button-wrapper {
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- align-items: center;
|
|
|
- gap: 1rem;
|
|
|
}
|
|
|
|
|
|
.search-button-wrapper button,
|
|
@@ -123,7 +68,12 @@ a:hover,
|
|
|
font-size: 14px;
|
|
|
border: 1px solid var(--main-bg);
|
|
|
border-radius: 4px;
|
|
|
- padding: 10px 16px;
|
|
|
+ padding: 13px 10px 13px 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.search-button-wrapper button {
|
|
|
+
|
|
|
+ margin: 30px 60px 0px 60px;
|
|
|
}
|
|
|
|
|
|
.sub-search-container {
|
|
@@ -166,7 +116,7 @@ a:hover,
|
|
|
|
|
|
.search-button-wrapper button:hover,
|
|
|
.misc-container button:hover {
|
|
|
- border: 1px solid var(--element-border-focus);
|
|
|
+ border: 1px solid #5f6368;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
@@ -222,85 +172,37 @@ a:hover,
|
|
|
padding: 5px;
|
|
|
font-size: inherit;
|
|
|
font-family: inherit;
|
|
|
- border: 1px solid var(--element-border-focus);
|
|
|
+ border: 1px solid #5f6368;
|
|
|
border-radius: 5px;
|
|
|
float: right;
|
|
|
}
|
|
|
|
|
|
-.result-container {
|
|
|
- display: flex;
|
|
|
- flex-direction: row-reverse;
|
|
|
- gap: 2rem;
|
|
|
- width: fit-content;
|
|
|
- padding: calc(var(--footer-height) + 2rem) 170px;
|
|
|
- padding-top: 1rem;
|
|
|
- box-sizing: border-box;
|
|
|
-}
|
|
|
-
|
|
|
-.result-container-inner {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.result-container[data-type="2"] .text-result-wrapper {
|
|
|
- max-width: 700px;
|
|
|
-}
|
|
|
-
|
|
|
-#time {
|
|
|
- font-size: 13px;
|
|
|
- opacity: 0.65;
|
|
|
- order: 0;
|
|
|
-}
|
|
|
-
|
|
|
-.image-result-container,
|
|
|
-.text-result-container {
|
|
|
- order: 1;
|
|
|
-}
|
|
|
-
|
|
|
+.text-result-container,
|
|
|
+#time,
|
|
|
.next-page-button-wrapper {
|
|
|
- order: 2;
|
|
|
+ margin-left: 170px;
|
|
|
}
|
|
|
|
|
|
.text-result-container {
|
|
|
- margin-bottom: 2rem;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 1rem;
|
|
|
+ margin-bottom: 100px;
|
|
|
}
|
|
|
|
|
|
.special-result-container {
|
|
|
- padding: 18px;
|
|
|
+ padding: 10px;
|
|
|
border: 1px solid var(--special-result-border);
|
|
|
width: 500px;
|
|
|
border-radius: 8px;
|
|
|
background: var(--special-text-background);
|
|
|
color: var(--special-text-color);
|
|
|
- height: fit-content;
|
|
|
- box-sizing: border-box;
|
|
|
-
|
|
|
-
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- gap: 1.5rem;
|
|
|
-}
|
|
|
-
|
|
|
-.special-result-container-inner {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 0.5rem;
|
|
|
-}
|
|
|
-
|
|
|
-.special-result-container-inner p {
|
|
|
- font-size: 16px;
|
|
|
- margin: 0;
|
|
|
- color: var(--main-fg);
|
|
|
+ margin-left: 840px;
|
|
|
+ margin-top: 0px;
|
|
|
+ position: absolute;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.text-result-wrapper {
|
|
|
max-width: 550px;
|
|
|
word-wrap: break-word;
|
|
|
+ margin-bottom: 35px;
|
|
|
}
|
|
|
|
|
|
.text-result-wrapper a {
|
|
@@ -308,12 +210,9 @@ a:hover,
|
|
|
color: var(--result-fg);
|
|
|
}
|
|
|
|
|
|
-.video-thumbnail {
|
|
|
- min-height: 96px;
|
|
|
- max-height: 96px;
|
|
|
- background-color: var(--search-container-background-color);
|
|
|
+.video-img {
|
|
|
+ height: 115px;
|
|
|
border-radius: 12px;
|
|
|
- aspect-ratio: 4 / 3;
|
|
|
}
|
|
|
|
|
|
.text-result-wrapper h2 {
|
|
@@ -321,27 +220,33 @@ a:hover,
|
|
|
color: var(--result-link-fg);
|
|
|
padding-top: 5px;
|
|
|
margin-top: 1px;
|
|
|
- font-weight: 500;
|
|
|
- margin-bottom: 8px;
|
|
|
- width: fit-content;
|
|
|
}
|
|
|
|
|
|
.special-result-container a {
|
|
|
display: flex;
|
|
|
+ margin-top: 10px;
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.special-result-container img {
|
|
|
display: flex;
|
|
|
max-width: 60%;
|
|
|
- max-height: 64px;
|
|
|
+ max-height: 200px;
|
|
|
+ padding-bottom: 10px;
|
|
|
+ margin-left: auto;
|
|
|
+ margin-right: auto;
|
|
|
+}
|
|
|
+
|
|
|
+.next-page-button-wrapper {
|
|
|
+ margin-top: -50px;
|
|
|
+ margin-bottom: 100px;
|
|
|
}
|
|
|
|
|
|
.next-page-button-wrapper button {
|
|
|
border: none;
|
|
|
background-color: inherit;
|
|
|
color: var(--result-link-fg);
|
|
|
- font-size: 16px;
|
|
|
+ font-size: 18px;
|
|
|
margin-right: 8px;
|
|
|
}
|
|
|
|
|
@@ -354,55 +259,15 @@ a:hover,
|
|
|
flex-wrap: wrap;
|
|
|
grid-gap: 1.5rem;
|
|
|
justify-items: center;
|
|
|
+ margin-left: 9%;
|
|
|
+ margin-right: 9%;
|
|
|
padding: 0;
|
|
|
margin-bottom: 50px;
|
|
|
}
|
|
|
|
|
|
a[title] {
|
|
|
flex-grow: 1;
|
|
|
- height: fit-content;
|
|
|
-
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
-
|
|
|
- gap: 1rem;
|
|
|
-}
|
|
|
-
|
|
|
-a[title] .image-wrapper {
|
|
|
- min-height: 12rem;
|
|
|
- width: 100%;
|
|
|
- background-color: var(--search-container-background-color);
|
|
|
- border-radius: 8px;
|
|
|
-}
|
|
|
-
|
|
|
-a[title] img {
|
|
|
- max-height: 12rem;
|
|
|
- border-radius: 8px;
|
|
|
-}
|
|
|
-
|
|
|
-a[title] .image-properties {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 4px;
|
|
|
-}
|
|
|
-
|
|
|
-.image-properties .image-url {
|
|
|
- font-size: 13px;
|
|
|
- color: var(--result-fg);
|
|
|
-}
|
|
|
-
|
|
|
-.image-properties .image-title {
|
|
|
- font-size: 18px;
|
|
|
- font-weight: 500;
|
|
|
- color: var(--result-link-fg);
|
|
|
- width: fit-content;
|
|
|
- margin: 0;
|
|
|
-
|
|
|
-
|
|
|
- max-width: 300px;
|
|
|
- white-space:nowrap;
|
|
|
- overflow:hidden;
|
|
|
- text-overflow:ellipsis;
|
|
|
+ height: 12rem;
|
|
|
}
|
|
|
|
|
|
.image-result-container img {
|
|
@@ -413,18 +278,6 @@ a[title] .image-properties {
|
|
|
vertical-align: bottom;
|
|
|
}
|
|
|
|
|
|
-.video-link {
|
|
|
- display: inline-flex;
|
|
|
- flex-direction: row;
|
|
|
- align-items: flex-start;
|
|
|
- gap: 1rem;
|
|
|
-}
|
|
|
-
|
|
|
-.video-link .video-img {
|
|
|
- max-height: 96px;
|
|
|
- background-color: var(--search-container-background-color);
|
|
|
- border-radius: 8px;
|
|
|
-}
|
|
|
|
|
|
.git-container {
|
|
|
right: 0;
|
|
@@ -444,7 +297,6 @@ a[title] .image-properties {
|
|
|
padding-bottom: 15px;
|
|
|
border-top: 1px solid var(--border);
|
|
|
text-align: center;
|
|
|
- max-height: var(--footer-height);
|
|
|
}
|
|
|
|
|
|
.git-container a {
|
|
@@ -477,16 +329,11 @@ a[title] .image-properties {
|
|
|
color: #ff79c6;
|
|
|
}
|
|
|
|
|
|
-@media only screen and (max-width: 1422px) {
|
|
|
-
|
|
|
- .result-container {
|
|
|
- flex-direction: column;
|
|
|
- gap: 1rem;
|
|
|
- }
|
|
|
-
|
|
|
+@media only screen and (max-width: 1320px) {
|
|
|
.special-result-container {
|
|
|
- max-width: 550px;
|
|
|
- margin: 0;
|
|
|
+ position: relative;
|
|
|
+ float: none;
|
|
|
+ margin-left: 165px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -504,12 +351,10 @@ a[title] .image-properties {
|
|
|
width: 80%;
|
|
|
}
|
|
|
|
|
|
- .search-button-wrapper {
|
|
|
- flex-direction: column;
|
|
|
- }
|
|
|
-
|
|
|
.search-button-wrapper button {
|
|
|
- width: 100%;
|
|
|
+ display: table-row;
|
|
|
+ margin: 30px 0px 0px 0px;
|
|
|
+ width: 80%;
|
|
|
}
|
|
|
|
|
|
.image-result-container {
|
|
@@ -591,6 +436,7 @@ a[title] .image-properties {
|
|
|
position: relative;
|
|
|
float: none;
|
|
|
max-width: 90%;
|
|
|
+ margin-left: 10px;
|
|
|
width: auto;
|
|
|
}
|
|
|
|
|
@@ -611,21 +457,10 @@ a[title] .image-properties {
|
|
|
margin-top: 10%;
|
|
|
}
|
|
|
|
|
|
- .special-result-container {
|
|
|
- margin: 0;
|
|
|
- max-width: 550px;
|
|
|
-
|
|
|
-
|
|
|
- flex-direction: column;
|
|
|
- }
|
|
|
-
|
|
|
- .special-result-container img {
|
|
|
- max-width: 64px;
|
|
|
- }
|
|
|
-
|
|
|
- .result-container {
|
|
|
-
|
|
|
- padding: calc(var(--footer-height) + 2rem) 25px;
|
|
|
- padding-top: 1rem;
|
|
|
+ .text-result-container,
|
|
|
+ #time,
|
|
|
+ .next-page-button-wrapper {
|
|
|
+ margin-left: 20px;
|
|
|
+ max-width: 90%;
|
|
|
}
|
|
|
}
|