Implement some front page styles

This commit is contained in:
Jan Tuomi
2018-11-16 19:49:21 +02:00
parent 5a64b05b1c
commit c371a35a3c
6 changed files with 13 additions and 8 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

+5 -1
View File
@@ -1,5 +1,9 @@
.header {
display: flex;
flex-flow: column nowrap;
flex-flow: row nowrap;
align-items: center;
img {
max-width: 200px;
}
}
+3 -1
View File
@@ -1,6 +1,8 @@
import * as React from "react";
import "./Header.scss";
import Navigation from "../Navigation";
// @ts-ignore
import * as TitleImage from "../../assets/img/SIK_RGB_W_side.png";
export interface HeaderProps {}
export interface HeaderState {}
@@ -9,7 +11,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
render() {
return (
<div className="header">
<h1>Aalto-yliopiston Sähköinsinöörikilta</h1>
<img src={TitleImage} />
<Navigation />
</div>
);
+3 -2
View File
@@ -5,8 +5,9 @@ $border-width: 2px;
width: 100%;
display: flex;
flex-flow: row nowrap;
justify-content: center;
margin-bottom: 3rem;
justify-content: flex-start;
align-items: center;
font-size: 12px;
&__item {
padding: 0.8rem 2rem;
+1 -3
View File
@@ -8,7 +8,6 @@ body {
height: 100%;
font-family: $font;
color: $white;
text-align: center;
overflow: auto;
}
@@ -18,8 +17,7 @@ body {
}
body {
max-width: 1200px;
padding: 0 0.5rem;
padding: 0 1rem;
margin: auto !important;
}
+1 -1
View File
@@ -1,5 +1,5 @@
.front-page {
display: flex;
flex-flow: row wrap;
justify-content: center;
justify-content: flex-start;
}