123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- html, body {
- margin: 0;
- padding: 0;
- font-family: 'Roboto', sans-serif;
- color: white;
- background-color: black;
- }
- header {
- position: relative;
- height: 300px;
- color: white;
- }
- header h1 {
- font-family: 'Oswald', 'Roboto', sans-serif;
- }
- canvas#background {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- }
- canvas#asteroids-background {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- }
- header h1{
- z-index: 10;
- position: absolute;
- text-align: center;
- width: 100%;
- font-size: 120px;
- }
- main {
- background-color: #FFFFFF;
- padding-top: 12px;
- }
- nav {
- position: absolute;
- width: 100%;
- z-index: 10;
- margin-top: -30px;
- text-align: center;
- }
- nav a {
- color: white;
- text-decoration: none;
- transition: color 0.6s;
- font-size: 20px;
- }
- nav a:hover {
- color: #0D69B0;
- }
- nav ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- text-align: center;
- }
- nav li {
- display: inline;
- padding: 10px;
- }
- section {
- display: flex;
- flex-flow: row wrap;
- align-items: center;
- justify-content: center;
- color: black;
- }
- section h2 {
- flex: 0 0 100%;
- text-align: center;
- /*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/
- text-shadow: 2px 2px 6px rgba(13,105,176,0.4);
- color: #0D69B0;
- }
- section h3 a{
- text-decoration: none;
- color: black;
- transition: color 0.6s;
- }
- section h3 a:hover {
- color: #0D69B0;
- }
- footer {
- text-align: center;
- }
- footer a {
- color: white;
- }
- footer ul {
- list-style-type: none;
- }
- footer li {
- padding: 10px;
- }
- .project {
- color: black;
- margin: 20px;
- text-align: center;
- width: 300px;
- min-height: 300px;
- }
- .project .teaser {
- box-sizing: border-box;
- width: 300px;
- position: relative;
- }
- .project img {
- max-width: 100%;
- border-radius: 15px;
- }
- .project canvas {
- border-radius: 15px;
- }
- .project video {
- max-width: 100%;
- border-radius: 15px;
- }
- .project .image-carousel {
- display: none;
- }
- .project:hover .image-carousel {
- display: block;
- }
- .project .description {
- padding: 8px;
- color: gray;
- }
- .project .description h3 {
- padding: 0;
- margin: 0;
- color: black;
- }
- #prototype-section {
- }
- #starfield-container {
- margin: 5px;
- margin-left: auto;
- margin-right: auto;
- height: 400px;
- }
- #boxes-container {
- width: 300px;
- height: 200px;
- }
- #contact-section {
- padding-bottom: 50px;
- }
- #contact-section img {
- border-radius: 15px;
- }
- @media only screen and (max-width: 768px) {
- header h1{
- font-size: 40px;
- margin-top: 100px;
- }
- nav {
- margin-top: -60px;
- }
- }
|