Skip to content

Commit 571aff7

Browse files
committed
Add Overpass-Mono. Title styling
1 parent 0c44422 commit 571aff7

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,20 @@
2929
"babel-core": "^6.24.1",
3030
"babel-loader": "^6.4.0",
3131
"babel-preset-vue-app": "^1.2.0",
32+
"copyfiles": "^2.1.0",
3233
"css-loader": "^0.27.0",
3334
"file-loader": "^0.10.1",
3435
"html-webpack-plugin": "^2.24.1",
36+
"npm-run-all": "^4.1.5",
3537
"postcss-loader": "^1.3.3",
3638
"rimraf": "^2.5.4",
3739
"style-loader": "^0.13.2",
40+
"typeface-overpass-mono": "0.0.71",
3841
"url-loader": "^0.5.8",
3942
"vue-loader": "^13.3.0",
4043
"vue-template-compiler": "^2.5.16",
4144
"webpack": "^2.4.1",
42-
"webpack-dev-server": "^2.4.2",
4345
"webpack-cli": "^3.1.2",
44-
"npm-run-all": "^4.1.5",
45-
"copyfiles": "^2.1.0"
46+
"webpack-dev-server": "^2.4.2"
4647
}
4748
}

src/App.vue

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<template>
22
<div id="page">
3-
<h1> CoderBot files </h1>
3+
<div class="logo">CoderBot</div>
4+
<div class="subtitle">files repository</div>
5+
<br> <br>
46
<el-row>
57
<el-col :xs="{span:0}" :span="4" hidden-md-and-down>
68
<div class="grid-content"></div>
@@ -119,6 +121,26 @@ export default {
119121
}
120122
</script>
121123
<style>
124+
.logo {
125+
font-size: 60px;
126+
font-family: 'Overpass Mono';
127+
font-weight: 600;
128+
letter-spacing: -5px;
129+
background-color: #070300;
130+
color: transparent;
131+
text-shadow: 3px 3px 3px rgba(255, 255, 255, 0.25);
132+
-webkit-background-clip: text;
133+
-moz-background-clip: text;
134+
background-clip: text;
135+
}
136+
.subtitle {
137+
color: #606266;
138+
font-size: 30px;
139+
font-family: 'Overpass Mono';
140+
font-weight: 600;
141+
letter-spacing: -4px;
142+
margin-top: -20px;
143+
}
122144
a {
123145
text-decoration: none;
124146
transition: ease-out;

src/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Vue from 'vue'
22
import ElementUI from 'element-ui'
33
import 'element-ui/lib/theme-chalk/index.css'
44
import App from './App.vue'
5+
import 'typeface-overpass-mono'
56

67
Vue.use(ElementUI)
78

0 commit comments

Comments
 (0)