Skip to content

Commit

Permalink
finish header formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuenaimaku committed Oct 8, 2021
1 parent b802d59 commit 3e0b7ed
Show file tree
Hide file tree
Showing 9 changed files with 270 additions and 172 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta property="og:title" content="MSMC Mission Briefing">
<meta property="og:description" content="MIRRORSMOKE MERCENARY COMPANY | MISSION BRIEFING">
<meta property="og:image" content="/src/assets/logo.png">
<title>ReIMAGINE Tools</title>
<title>MSMC | MISSION BRIEFING</title>
</head>
<body style="margin:0px;">
<div id="app"></div>
Expand Down
File renamed without changes
Binary file removed public/favicon.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
109 changes: 1 addition & 108 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,119 +52,12 @@ export default {

<style lang="scss">
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;600;800&display=swap');
#app {
width: 1902px;
height: 910px;
overflow: hidden;
background-image: url("./assets/background.png");
background-image: url("/background.png");
background-size: cover;
}
header {
background-color: rgba(23, 29, 30, 0.8);
border-color: rgba(23, 29, 30, 0.8);
height:96px;
display:flex;
align-items: center;
}
.title{
background-color:#7DBBBB;
border-color: #7DBBBB;
width: 700px;
height:100%;
display:inline-block;
}
.rhombus{
transform: skew(-0.785398rad) !important;
background-color:#7DBBBB;
border-color: #7DBBBB;
width: 100px;
height:100%;
display:inline-block;
margin-left:-40px;
}
.rhombus-back{
transform: skew(0.785398rad) !important;
background-color:#7DBBBB;
border-color: #7DBBBB;
width: 40px;
height:52px;
display:inline-block;
position: relative;
left: -25px;
top: -30px;
}
header video{
margin-left:10%;
}
div .location-info{
height:100px;
width:500px;
background-color:#7DBBBB;
margin-left:20px;
}
div .content-container{
display:flex;
flex-direction: row;
}
section.section-container{
display:flex;
flex-direction: column;
margin: 50px;
}
section .section-header {
background-color:#7DBBBB;
border-color: #7DBBBB;
height:52px;
display:inline-flex;
gap:15px;
padding-left:16px;
img{
width:36px;
height:36px;
background-color:#FF0;
align-self: center;
}
h1{
font-size: 26px;
margin:0%;
align-self: center;
font-family: 'Big Shoulders Display', cursive;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 5px;
}
}
div.section-content-container{
border: 1px solid #7DBBBB;
border-top:0px;
background: #171D1E;
}
.clipped-medium-backward{
-webkit-clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 100%, 0% 100%);
}
.clipped-medium-backward-pilot{
width:452px;
-webkit-clip-path: polygon(0 0, 400px 0, 452px 100%, 0% 100%);
}
.clipped-x-large-forward{
clip-path: polygon(100% 0, 100% calc(100% - 96px), calc(100% - 96px) 100%, 0 100%, 0 0);
-webkit-clip-path: polygon(100% 0, 100% calc(100% - 96px), calc(100% - 96px) 100%, 0 100%, 0 0);
}
</style>
215 changes: 215 additions & 0 deletions src/assets/styles/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
@charset "utf-8";

$primary: rgba(125, 187, 187, 1);
$secondary: rgba(23, 29, 30, 0.8);

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@600;700&?family=Big+Shoulders+Display:wght@400;600;800&display=swap');

header {
background-color: $secondary;
border-color: $secondary;
height:96px;
display:flex;
align-items: center;
}

.title{
background-color:$primary;
border-color: $primary;
width: 700px;
height:100%;
display:inline-flex;
align-items: center;
column-gap: 1em;
.title-container{
display:flex;
flex-direction: column;
}

#title-header{
font-size: 32px;
margin:0%;
align-self: center;
font-family: 'Big Shoulders Display', cursive;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.15em;
}

#title-subheader{
font-size: 32px;
margin:0%;
align-self: center;
font-family: 'Big Shoulders Display', cursive;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.12em;
}

#subtitle-header{
font-size: 24px;
margin:0%;
align-self: center;
font-family: 'Big Shoulders Display', cursive;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
}

#subtitle-subheader{
font-size: 24px;
margin:0%;
align-self: center;
font-family: 'Titillium Web', cursive;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.02em;
}
}

.logo{
width:50px;
height:80px;
margin-left:15px;
}

.title-row {
width:100%;
}

#title-first-line {
border-bottom:1px solid #000;
}

.rhombus{
transform: skew(-0.785398rad) !important;
background-color:$primary;
border-color: $primary;
width: 40px;
height:100%;
display:inline-flex;
margin-left:-30px;
}

.rhombus-back{
transform: skew(0.785398rad) !important;
background-color:$primary;
border-color: $primary;
width: 40px;
height:52px;
display:inline-block;
position: relative;
left: -25px;
top: -30px;
}

header video{
margin-left: 3.5%;
}

div .location-info{
height:90px;
width:450px;
padding:10px;
margin-left:20px;
display:flex;
flex-direction: column;
}

.location-row{
height: 40px;
display:flex;
color: rgba(255,255,255,0.87);
h4 {
margin:0px;
line-height:1.5em;
font-family: 'Raleway', sans-serif;
font-size: 10px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 3px;
}
.subtitle{
font-size: 18px;
margin:0%;
align-self: center;
font-family: 'Big Shoulders Display', cursive;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.1em;
}
div {
padding:0px 15px;
}
#planet{
width:100%;
}
#year {
width: 75px;
border-left:1px solid rgba(255,255,255,0.24);
padding-right:0px;
height:100;
}
#gate {
border-left:1px solid rgba(255,255,255,0.24);
}
#ring {
border-left:1px solid rgba(255,255,255,0.24);
padding-right:0px;
}
}

div .content-container{
display:flex;
flex-direction: row;
}

section.section-container{
display:flex;
flex-direction: column;
margin: 50px;
}

section .section-header {
background-color:#7DBBBB;
border-color: #7DBBBB;
height:52px;
display:inline-flex;
gap:15px;
padding-left:16px;

img{
width:36px;
height:36px;
background-color:#FF0;
align-self: center;
}

h1{
font-size: 26px;
margin:0%;
align-self: center;
font-family: 'Big Shoulders Display', cursive;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.1em;
}
}

.clipped-medium-backward{
clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 100%, 0% 100%);
-webkit-clip-path: polygon(0 0, calc(100% - 52px) 0, 100% 100%, 0% 100%);
}

.clipped-medium-backward-pilot{
width:452px;
clip-path: polygon(0 0, 400px 0, 452px 100%, 0% 100%);
-webkit-clip-path: polygon(0 0, 400px 0, 452px 100%, 0% 100%);
}

.clipped-x-large-forward{
clip-path: polygon(100% 0, 100% calc(100% - 96px), calc(100% - 96px) 100%, 0 100%, 0 0);
-webkit-clip-path: polygon(100% 0, 100% calc(100% - 96px), calc(100% - 96px) 100%, 0 100%, 0 0);
}
Loading

0 comments on commit 3e0b7ed

Please sign in to comment.