Files

305 lines
5.2 KiB
CSS

:root {
--text: #d7e9f4;
--background: #0b1d28;
--primary: #e45b0c;
--secondary: #102937;
--accent: #74c3f1;
}
body {
font-family: 'Trebuchet MS';
font-size: 16px;
line-height: 1.5;
margin: 0;
padding: 0;
color: var(--text);
background-color: var(--background);
margin-bottom: 2rem;
}
a {
color: var(--primary);
}
@font-face {
font-family: 'Trebuchet MS';
font-style: normal;
font-weight: normal;
src: local('Trebuchet MS'), url('/trebuc.woff') format('woff');
}
@font-face {
font-family: 'Trebuchet MS Italic';
font-style: normal;
font-weight: normal;
src: local('Trebuchet MS Italic'), url('/Trebuchet-MS-Italic.woff') format('woff');
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Trebuchet MS';
font-weight: 700;
margin: 0;
padding: 0;
word-break: break-word;
}
.content {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem 1rem;
}
.navbar {
padding: 0.5rem 0;
margin: 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar li {
display: flex;
list-style: none;
}
.navbar a {
text-decoration: none;
}
.navbar .links a {
font-family: 'Trebuchet MS';
font-size: 1.5rem;
font-weight: 700;
color: var(--accent);
margin-left: 1rem;
}
.navbar .links {
overflow: auto;
}
.navbar .links a:hover {
color: var(--primary);
}
.logo {
font-size: 2.5rem;
font-weight: 700;
border-radius: 10px;
padding: 0.5rem;
background: linear-gradient(120deg, var(--primary), var(--accent));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color: var(--accent);
font-family: 'Trebuchet MS';
text-decoration: none;
}
.logo::before {
content: "Isotope";
}
.welcome {
display: flex;
min-height: 500px;
margin: 2.5rem 0;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-around;
}
.welcome h1 {
margin: 1rem;
text-align: center;
}
.welcome svg {
width: 500px;
}
textarea:focus,
input:focus {
outline: none;
}
.search {
display: flex;
flex-direction: row;
margin: 2.5rem 0;
justify-content: center;
}
.search .bar {
width: 500px;
height: 50px;
border-radius: 25px;
color: var(--text);
background-color: var(--secondary);
border: 1px solid var(--primary);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 1rem;
}
.search .button {
width: 100px;
border-radius: 25px;
margin-left: 1rem;
color: var(--text);
background-color: var(--primary);
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.results {
display: flex;
flex-direction: column;
margin: 1rem;
align-items: stretch;
}
.results a {
text-decoration: none;
color: var(--text);
margin: 0.5rem 0;
padding: 1rem;
border-radius: 10px;
background-color: var(--secondary);
border: 1px solid var(--primary);
}
.selected {
color: var(--accent) !important;
}
.md_pre {
background-color: var(--secondary);
border-radius: 10px;
padding: 1rem;
border: 1px solid var(--primary);
overflow-x: auto;
}
.copyable-pre {
background-color: var(--secondary);
border-radius: 10px;
padding: 1rem;
border: 1px solid var(--primary);
overflow-x: auto;
cursor: pointer;
/* disable text highlighting */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
white-space: pre-wrap;
word-wrap: break-word;
}
.form {
width: 100%;
max-width: 500px;
margin: auto;
text-align: center;
}
.form .input {
width: 100%;
height: 50px;
margin: 1rem 0;
box-sizing: border-box;
border-radius: 25px;
color: var(--text);
background-color: var(--secondary);
border: 1px solid var(--primary);
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 1rem;
font-family: 'Trebuchet MS';
}
.form .submit {
border-radius: 25px;
margin: auto;
color: var(--text);
background-color: var(--primary);
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 1rem;
min-width: 100px;
font-family: 'Trebuchet MS';
}
.error {
color: red;
font-size: 0.8rem;
margin: 0.5rem 0;
}
.split {
display: block;
margin: 1rem 0;
width: 100%;
height: 1px;
background-color: var(--primary);
}
.atributes div>* {
margin: 0;
}
.atributes div {
margin: 1rem 0;
}
.package {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-content: stretch;
justify-content: center;
align-items: stretch;
}
.package .info {
width: 100%;
}
.package .versions {
margin: 0 1rem;
width: 100%;
max-width: 250px;
}
@media (max-width: 750px) {
.package .versions {
margin: 1rem 0;
max-width: 100%;
}
.package {
flex-direction: column;
}
}