This commit is contained in:
fthvgb1 2018-06-02 23:48:42 +08:00
parent 194c3cc259
commit 34a4ccde2e
3 changed files with 14 additions and 8 deletions

18
public/css/app.css vendored
View File

@ -8479,7 +8479,8 @@ body {
/* Topic Index Page */
.topics-index-page .topic-list .nav > li > a,
.categories-show-page .topic-list .nav > li > a {
.categories-show-page .topic-list .nav > li > a,
.home-page .topic-list .nav > li > a {
position: relative;
display: block;
padding: 5px 14px;
@ -8487,28 +8488,33 @@ body {
}
.topics-index-page .topic-list a,
.categories-show-page .topic-list a {
.categories-show-page .topic-list a,
.home-page .topic-list a {
color: #444444;
}
.topics-index-page .topic-list .meta,
.categories-show-page .topic-list .meta {
.categories-show-page .topic-list .meta,
.home-page .topic-list .meta {
font-size: 0.9em;
color: #b3b3b3;
}
.topics-index-page .topic-list .meta a,
.categories-show-page .topic-list .meta a {
.categories-show-page .topic-list .meta a,
.home-page .topic-list .meta a {
color: #b3b3b3;
}
.topics-index-page .topic-list .badge,
.categories-show-page .topic-list .badge {
.categories-show-page .topic-list .badge,
.home-page .topic-list .badge {
background-color: #d8d8d8;
}
.topics-index-page .topic-list hr,
.categories-show-page .topic-list hr {
.categories-show-page .topic-list hr,
.home-page .topic-list hr {
margin-top: 12px;
margin-bottom: 12px;
border: 0;

View File

@ -135,7 +135,7 @@ body {
}
/* Topic Index Page */
.topics-index-page, .categories-show-page {
.topics-index-page, .categories-show-page, .home-page {
.topic-list {
.nav > li > a {
position: relative;

View File

@ -11,7 +11,7 @@
|
*/
Route::get('/', 'PagesController@root')->name('home');
Route::get('/', 'TopicsController@index')->name('home');
Route::resource('users', 'UsersController', ['only' => ['update', 'show', 'edit']])
->middleware('auth');