work on default styling
This commit is contained in:
2
public/css/app.css
vendored
2
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
3
resources/assets/sass/app.scss
vendored
3
resources/assets/sass/app.scss
vendored
@@ -7,6 +7,3 @@
|
|||||||
|
|
||||||
// Bootstrap
|
// Bootstrap
|
||||||
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
|
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
|
||||||
|
|
||||||
// Custom Styling
|
|
||||||
@import "theme"
|
|
||||||
|
|||||||
16
resources/assets/sass/theme.scss
vendored
16
resources/assets/sass/theme.scss
vendored
@@ -1,16 +0,0 @@
|
|||||||
|
|
||||||
// Buttons
|
|
||||||
.btn {
|
|
||||||
box-sizing: border-box;
|
|
||||||
display: inline-block;
|
|
||||||
font-family: 'Raleway';
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 600;
|
|
||||||
height: 38px;
|
|
||||||
letter-spacing: .1rem;
|
|
||||||
line-height: 38px;
|
|
||||||
padding: 0 20px;
|
|
||||||
text-align: center;
|
|
||||||
text-transform: uppercase;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
2
resources/assets/sass/variables.scss
vendored
2
resources/assets/sass/variables.scss
vendored
@@ -29,7 +29,7 @@ $navbar-default-bg: #fff;
|
|||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
$btn-default-color: $text-color;
|
$btn-default-color: $text-color;
|
||||||
$btn-font-weight: 600;
|
$btn-font-weight: 400;
|
||||||
|
|
||||||
// // Inputs
|
// // Inputs
|
||||||
$input-border: lighten($text-color, 40%);
|
$input-border: lighten($text-color, 40%);
|
||||||
|
|||||||
@@ -13,8 +13,11 @@
|
|||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #636b6f;
|
||||||
font-family: 'Raleway';
|
font-family: 'Raleway';
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
|
height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
@@ -40,58 +43,34 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
text-align:center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 84px;
|
font-size: 84px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
.links > a {
|
||||||
color: #555;
|
color: #636b6f;
|
||||||
background-color: transparent;
|
padding: 0 25px;
|
||||||
border: 1px solid #bbb;
|
font-size: 12px;
|
||||||
border-radius: 4px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
cursor: pointer;
|
|
||||||
display: inline-block;
|
|
||||||
font-family: 'Raleway';
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
height: 38px;
|
|
||||||
letter-spacing: .1rem;
|
letter-spacing: .1rem;
|
||||||
line-height: 38px;
|
text-decoration: none;
|
||||||
padding: 0 20px;
|
|
||||||
text-align: center;
|
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
button.button-primary {
|
|
||||||
color: #FFF;
|
|
||||||
background-color: #3097D1;
|
|
||||||
border: 1px solid #3097D1;
|
|
||||||
}
|
|
||||||
|
|
||||||
button.borderless {
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.m-r-md {
|
|
||||||
margin-right: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.m-b-md {
|
.m-b-md {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="flex-center position-ref full-height">
|
<div class="flex-center position-ref full-height">
|
||||||
@if (Route::has('login'))
|
@if (Route::has('login'))
|
||||||
<div class="buttons top-right">
|
<div class="top-right links">
|
||||||
<a href="/login"><button class="m-r-md">Login</button></a>
|
<a href="{{ url('/login') }}">Login</a>
|
||||||
<a href="/register"><button class="button-primary">Register</button></a>
|
<a href="{{ url('/register') }}">Register</a>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@@ -100,11 +79,11 @@
|
|||||||
Laravel
|
Laravel
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div class="links">
|
||||||
<a href="https://laravel.com/docs"><button class="borderless">Documentation</button></a>
|
<a href="https://laravel.com/docs">Documentation</a>
|
||||||
<a href="https://laracasts.com"><button class="borderless">Laracasts</button></a>
|
<a href="https://laracasts.com">Laracasts</a>
|
||||||
<a href="https://github.com/laravel/laravel"><button class="borderless">GitHub</button></a>
|
<a href="https://github.com/laravel/laravel">GitHub</a>
|
||||||
<a href="https://twitter.com/laravelphp"><button class="borderless">Twitter</button></a>
|
<a href="https://twitter.com/laravelphp">Twitter</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user