123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- html, body {
- margin: 0;
- padding: 0;
- font-family: 'Roboto', sans-serif;
- color: white;
- background-color: black;
- }
- canvas#background {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1;
- }
- section {
- margin: 15px;
- padding: 10px;
- }
- section h2 {
- text-align: center;
- opacity: 1;
- }
- section img {
- display: inline-block;
- margin-left: auto;
- margin-right: auto;
- }
- section ul {
- margin: 0;
- padding: 0;
- }
- article {
- padding: 8px;
- margin: 15px;
- /*border-radius: 4px;*/
- /*color: black;*/
- border: 4px solid rgba(255, 255, 255, 1);
- background-color: rgba(255, 255, 255, 0.1);
- display: flex;
- flex-flow: row wrap;
- }
- article h3 {
- text-align: center;
- margin: 6px;
- }
- article ul {
- margin-left: 20px;
- }
- article a {
- color: white;
- text-decoration: none;
- }
- article a:hover {
- text-decoration: underline;
- }
- header {
- flex: 0 0 100%;
- }
- header h1 {
- text-align: center;
- }
- nav {
- flex: 0 0 100%;
- }
- nav a {
- color: white;
- text-decoration: none;
- }
- nav a:hover {
- color: white;
- text-decoration: underline;
- }
- nav ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- text-align: center;
- }
- nav li {
- display: inline;
- }
- content {
- display: flex;
- flex-flow: row wrap;
- }
- aside {
- padding: 5px;
- flex: 1;
- }
- main {
- z-index: 10;
- flex: 6;
- display: flex;
- flex-flow: row wrap;
- }
- footer {
- padding: 5px;
- }
- footer p {
- text-align: center;
- }
- .project {
- position: relative;
- border: 1px solid white;
- width: 300px;
- min-height: 200px;
- text-align: center;
- }
- .project img {
- width: 45%;
- min-width: 300px;
- }
- .project .image-carousel {
- display: none;
- }
- .project:hover .image-carousel {
- display: block;
- }
- #starfield-container {
- margin: 5px;
- margin-left: auto;
- margin-right: auto;
- height: 400px;
- }
- #boxes-container {
- width: 300px;
- height: 200px;
- }
- @media all and (max-width: 768px) {
- content {
- flex-flow: column wrap;
- }
- aside {
- flex: 1;
- order: 2;
- }
- main {
- flex: 1;
- order: 1;
- }
- img {
- width: 100%;
- }
- }
|