Implement some front page styles
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -1,5 +1,9 @@
|
||||
.header {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
max-width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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
@@ -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,5 +1,5 @@
|
||||
.front-page {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: center;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user