fix the about css
This commit is contained in:
parent
83dde746f6
commit
3c851d9cdc
|
@ -6,6 +6,7 @@ lapis = require "lapis"
|
||||||
class About extends lapis.Application
|
class About extends lapis.Application
|
||||||
[about: "/about"]: =>
|
[about: "/about"]: =>
|
||||||
@user, err = gh\get_authenticated_user()
|
@user, err = gh\get_authenticated_user()
|
||||||
|
@title = "About Me"
|
||||||
|
|
||||||
if err
|
if err
|
||||||
@err = err
|
@err = err
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
gh = require('github').new({access_token: os.getenv "GITHUB_TOKEN", httpclient_driver: 'httpclient.ngx_driver'})
|
||||||
|
http = require "lapis.nginx.http"
|
||||||
|
|
||||||
|
lapis = require "lapis"
|
||||||
|
|
||||||
|
class About extends lapis.Application
|
||||||
|
[about: "/about"]: =>
|
||||||
|
@user, err = gh\get_authenticated_user()
|
||||||
|
|
||||||
|
if err
|
||||||
|
@err = err
|
||||||
|
|
||||||
|
return status: 500, render: "error"
|
||||||
|
|
||||||
|
return render: true
|
|
@ -5,8 +5,6 @@ img.textwrap-right {
|
||||||
|
|
||||||
.well {
|
.well {
|
||||||
margin-top:-20px;
|
margin-top:-20px;
|
||||||
background-color:#007FBD;
|
|
||||||
border:2px solid #0077B2;
|
|
||||||
text-align:center;
|
text-align:center;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
|
@ -16,8 +14,7 @@ img.textwrap-right {
|
||||||
|
|
||||||
.well:hover {
|
.well:hover {
|
||||||
margin-top:-20px;
|
margin-top:-20px;
|
||||||
background-color:#0077B2;
|
border:2px solid black;
|
||||||
border:2px solid #0077B2;
|
|
||||||
text-align:center;
|
text-align:center;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
|
@ -98,7 +95,6 @@ img.textwrap-right {
|
||||||
background-color: #3D5DE0;
|
background-color: #3D5DE0;
|
||||||
border-color: #adadad;
|
border-color: #adadad;
|
||||||
width: 33.3%;
|
width: 33.3%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
|
|
|
@ -31,3 +31,5 @@ class About extends Widget
|
||||||
div class: "col-md-4 col-xs-4 well", ->
|
div class: "col-md-4 col-xs-4 well", ->
|
||||||
i class: "fa fa-thumbs-o-up fa-lg"
|
i class: "fa fa-thumbs-o-up fa-lg"
|
||||||
p @user.following
|
p @user.following
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue