first commit
This commit is contained in:
240
css/style.css
Normal file
240
css/style.css
Normal file
@@ -0,0 +1,240 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
||||
/* https://fonts.google.com/selection/embed */
|
||||
|
||||
:root {
|
||||
--bg-color-dark-z0: #323232;
|
||||
--bg-color-dark-z1: #fff4;
|
||||
--bg-color-dark-z2: #545454;
|
||||
--text-color-light: #000;
|
||||
--text-color-dark: #fbfbfe;
|
||||
--text-color-placeholder: #a6a5ad;
|
||||
}
|
||||
|
||||
html,
|
||||
body,
|
||||
header,
|
||||
section,
|
||||
aside,
|
||||
footer,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
font-family: "Roboto";
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--bg-color-dark-z0);
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom;
|
||||
background-attachment: fixed;
|
||||
background-image: url(../assets/bg.jpg);
|
||||
color: var(--text-color-dark);
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--bg-color-dark-z1);
|
||||
}
|
||||
|
||||
.search-wrapper {
|
||||
margin: 16px;
|
||||
width: 100%;
|
||||
max-width: 1212px;
|
||||
height: 52px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: var(--bg-color-dark-z2);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.fake-focus {
|
||||
position: relative;
|
||||
border: 1px solid #00ddff;
|
||||
}
|
||||
|
||||
.fake-focus::after {
|
||||
content: "";
|
||||
border: 3px solid #205866;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: -3px;
|
||||
border-radius: 10px;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.search-wrapper img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 0px 14px;
|
||||
}
|
||||
|
||||
.search-wrapper form {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.search-wrapper input {
|
||||
all: unset;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: var(--text-color-dark);
|
||||
}
|
||||
|
||||
.search-wrapper input::placeholder {
|
||||
color: var(--text-color-placeholder);
|
||||
}
|
||||
|
||||
#body {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
overflow: hidden;
|
||||
max-width: 1250px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
section,
|
||||
aside {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: auto;
|
||||
scrollbar-color: var(--bg-color-dark-z2) var(--bg-color-dark-z1);
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.section-wrapper,
|
||||
.aside-wrapper {
|
||||
margin: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--bg-color-dark-z1);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.section-wrapper h1,
|
||||
.aside-wrapper h1 {
|
||||
margin: 16px 0px 0px 16px;
|
||||
color: var(--text-color-dark);
|
||||
}
|
||||
|
||||
.links-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 16px;
|
||||
}
|
||||
|
||||
.links-wrapper a {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link-wrapper-inner {
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.link-wrapper-inner:hover {
|
||||
background-color: #0005;
|
||||
}
|
||||
|
||||
.links-wrapper a img {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
padding: 16px;
|
||||
background-color: var(--bg-color-dark-z2);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.link-wrapper-inner p {
|
||||
margin-bottom: 0;
|
||||
color: var(--text-color-dark);
|
||||
}
|
||||
|
||||
aside {
|
||||
width: 400px;
|
||||
min-width: 400px;
|
||||
}
|
||||
|
||||
.cve-wrapper {
|
||||
margin: 16px;
|
||||
padding: 16px;
|
||||
background-color: var(--bg-color-dark-z2);
|
||||
border-radius: 8px;
|
||||
color: var(--text-color-dark);
|
||||
}
|
||||
|
||||
aside h1 {
|
||||
margin: 16px 0 0 16px;
|
||||
}
|
||||
|
||||
.cve-header {
|
||||
display: flex;
|
||||
margin: 0 0 6px 0;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cve-severity {
|
||||
font-weight: 900;
|
||||
background-color: #f00a;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
color: var(--text-color-light);
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.cve-title-wrapper {
|
||||
margin: 0 7px;
|
||||
}
|
||||
|
||||
.cve-title {
|
||||
font-weight: 500;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.cve-title a {
|
||||
color: var(--text-color-dark);
|
||||
}
|
||||
|
||||
.cve-title a:visited {
|
||||
color: #00ddff;
|
||||
}
|
||||
|
||||
.cve-published {
|
||||
font-weight: 100;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.cve-description {
|
||||
font-size: 1em;
|
||||
text-align: justify;
|
||||
text-justify: inter-word;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
}
|
||||
Reference in New Issue
Block a user