Skip to content

Commit

Permalink
Add website
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Apr 27, 2024
0 parents commit 90735b2
Show file tree
Hide file tree
Showing 18 changed files with 1,642 additions and 0 deletions.
60 changes: 60 additions & 0 deletions css/basics.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/* style for basic HTML elements */

html, body {
background: white;
color: #222;
font: normal 16px sans-serif;
margin: 0px;
padding: 0px;
}

h1, h2, h3, h4, h5, h6 {
padding: 0px;
}
h1 {
font-size: 150%;
margin: 15px 0px;
}
h2 {
font-size: 130%;
margin: 10px 0px;
}
h3 {
font-size: 110%;
margin: 10px 0px;
}

a:link {
color: #07b;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: #666;
}

pre {
border: 1px solid #aaa;
background-color: white;
margin: 5px;
padding: 5px;
white-space: pre-wrap;
overflow-x: auto;
}

fieldset {
border: 1px dotted #999;
background: #f6f9fc;
font-size: .846em;
}
fieldset legend {
font-weight: bold;
margin-bottom: 5px;
}

button, input[type="button"] {
border: 1px solid #aaa;
padding: 3px;
}
144 changes: 144 additions & 0 deletions css/layout.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
/* style for defining the overall layout of the page (header, navigation, main container) */

ul {
margin: 0px;
}

header nav {
margin: 0px;
display: block;
background-color: #ffffff;
border-bottom: 5px #08c solid!important;
color: #0891d1;
font-weight: bold;
cursor: default;
width: 100%;
z-index: 1000;
}
header nav > div {
box-sizing: border-box;
list-style-type: none;
width: 100%;
padding-top: 8px;
margin-bottom: 10px;
padding-left: 0em;
}
header nav > div > span {
font-size: 90%;
font-weight: normal;
}
header nav > div img {
float: left;
height: 40px;
margin-left: 15px;
margin-right: 10px;
}
header nav ul {
padding: 0px;
margin: 0px;
border-top: 1px solid #222;
}
header nav li {
display: inline-block;
margin: 0px;
padding: 0px;
background-repeat: no-repeat;
background-size: auto 45%;
background-position: center 20%;
opacity: .6;
}
header nav li.active {
filter: invert(100%);
}
header nav ul li a, header nav ul li a:link, header nav ul li a:visited {
display: inline-block;
position: relative;
box-sizing: border-box;
text-decoration: none;
padding-left: 20px;
padding-top: 35px;
padding-bottom: 5px;
padding-right: 20px;
/*color: #08c;*/
color: #000;
font-weight: bold;
font-size: 90%;
}
header nav ul li a:hover {
text-decoration: none;
}
header nav ul li.active a {
color: #000;
text-decoration: none;
}
header nav ul li.progress a:after {
content: '';
box-sizing: border-box;
position: absolute;
left: 0px;
bottom: 0px;
height: 5px;
width: 100%;
background: #ff7733;
animation: loading 2s infinite;
}
@keyframes loading {
0% {
margin-left: 0%;
width: 30%;
}
15% {
margin-left: 35%;
width: 50%;
}
50% {
margin-left: 70%;
width: 30%;
}
65% {
margin-left: 15%;
width: 50%;
}
100% {
margin-left: 0%;
width: 30%;
}
}
header nav li.active {
background-color: #ff7733; /* inverted from #0088cc */
}
header nav ul li:hover {
opacity: .9;
}
@media (min-width: 950px) {
header nav {
position: fixed;
}
header nav ul {
float: right;
border-top: none;
}
header nav > div {
position: absolute;
top: 50%;
transform: translate(0%, -50%);
margin: 0px;
padding: 0px;
z-index: -1000;
}
}

main {
padding-left: 0.5em;
padding-right: 0.5em;
}
@media (min-width: 950px) {
main {
padding-top: 55px;
}
}

section {
background-color: white;
padding: 10px;
}
152 changes: 152 additions & 0 deletions css/specifics.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
/* style for page-specific elements */

/* icons of buttons within navigation */
#back-nav-link {
background-image: url(../img/icon/chevron-left.svg);
background-size: contain;
margin-right: -5px;
filter: invert(100%);
}
#back-nav-link a {
margin-right: 0px;
filter: none;
}
#intro-nav-link {
background-image: url(../img/icon/information.svg);
}
#downloads-nav-link {
background-image: url(../img/icon/download.svg);
}
#doc-nav-link {
background-image: url(../img/icon/book-open-variant.svg);
}
#contact-nav-link {
background-image: url(../img/icon/forum.svg);
}
#code-nav-link {
background-image: url(../img/icon/code-braces.svg);
}

/* elements of intro section */
.banner {
margin: -23px;
margin-bottom: 10px;
background-image: url(../img/screenshots/plasma.png);
background-position-y: -758px;
background-position-x: right;
background-repeat: no-repeat;
background-color: #416da0;
height: 655px;
width: calc(100% + 41px);
box-sizing: border-box;
border-bottom: 5px #08c solid!important;
}
@media (max-width: 1050px) {
.banner {
background-position-x: -1500px;
}
}
.banner p {
position: relative;
top: 65px;
right: 50px;
margin-left: auto;
width: 300px;
background-color: #fff;
border: 1px solid #aaa;
border-radius: 5px;
padding: 10px;
font-size: 120%;
line-height: 170%;
box-sizing: border-box;
}
@media (min-width: 1730px) {
.banner p {
margin-left: 0px;
left: 100px;
width: 30%;
}
}
@media (max-width: 1010px) {
.banner p {
top: 660px;
left: 0px;
border: none;
width: 100%;
margin-bottom: 0px;
padding-bottom: 0px;
}
}
@media (max-width: 950px) {
.banner {
margin-top: -29px;
}
}

/* elements of downloads section */
.downloads-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
}
.downloads-grid h3 {
margin-top: 20px;
}
.downloads-grid h3 + p {
margin: 10px 0px;
}
@media (max-width: 900px) {
.downloads-grid {
display: block;
}
}
.downloads-platform {
padding: 5px;
}
.downloads-platform input[type="checkbox"] {
display: none;
}
.downloads-platform label {
display: block;
margin: 0px -5px -10px -5px;
padding: 0px;
font-weight: bold;
/*background-color: #e0e0ff;*/
cursor: pointer;
user-select: none;
}
.downloads-platform label:before {
display: inline-block;
width: 20px;
content: "⮞ ";
opacity: 0.5;
}
.downloads-platform ul {
list-style: none;
padding-bottom: 5px;
border-bottom: 1px solid #aaa;
}
.downloads-platform input + label ~ * {
margin-top: 10px;
display: none;
padding-left: 0px;
margin-left: 20px;
}
.downloads-platform input:checked + label ~ * {
display: block;
}
.downloads-platform input:checked + label:before {
content: "⮟ ";
}
.downloads-platform p {
font-size: 90%;
padding: 5px !important;
border-radius: 5px;
border: 1px solid #ddd;
background-color: #e5f3ff;
}

/* elements of the documentation section */
#doc-section p {
line-height: 140%;
}
1 change: 1 addition & 0 deletions img/icon/book-open-variant.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icon/chevron-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icon/code-braces.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icon/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icon/forum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icon/information.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 90735b2

Please sign in to comment.