Skip to content

Commit f606868

Browse files
committed
some text-align centering for browsing projects and the projects themselves
1 parent a490cf9 commit f606868

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

public/css/newslist.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ Light Red #c97474
5656
text-align: center;
5757
display: block;
5858
}
59-
}
59+
}

public/css/project.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,9 @@ Light Red #c97474
6060
margin-bottom: 10%;
6161
}
6262

63+
.panel-heading {
64+
text-align: center;
65+
}
66+
.panel-body {
67+
text-align: center;
68+
}

public/css/projectlibrary.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ Light Red #c97474
2222
#see-project-button {
2323
background-color: #ff9000;
2424
border-color: white;
25-
}
25+
}
26+
27+
.row {
28+
text-align: center;
29+
}

resources/views/project.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@can('admin', $project)
77
<div class="container">
88
<div class="row">
9-
<div class="col-md-8">
9+
<div class="col-md-12">
1010
<div class="panel panel-default" id="outside-panel">
1111
<div class="panel-body" id="project-body-panel">
1212
<a href="/project_admin/{{$project->id}}" class="btn btn-primary btn-s" id="see-project-button">
@@ -22,7 +22,7 @@
2222

2323
<div class="container">
2424
<div class="row">
25-
<div class="col-md-8">
25+
<div class="col-md-12">
2626
<div class="panel panel-default" id="outside-panel">
2727
<div class="panel-heading" id="project-title-panel">
2828
<span id="project-title-text">{{ $project->title }}</span><br>
@@ -51,7 +51,7 @@
5151

5252
<div class="container">
5353
<div class="row">
54-
<div class="col-md-8">
54+
<div class="col-md-12">
5555
<div class="panel panel-default" id="info-outside-panel-small">
5656
<div class="panel-heading" id="info-project-title-panel">
5757
<span id="info-project-title-text">Info</span><br>
@@ -88,7 +88,7 @@
8888

8989
<div class="container">
9090
<div class="row">
91-
<div class="col-md-8">
91+
<div class="col-md-12">
9292
<div class="panel panel-default" id="outside-panel-small">
9393
<div class="panel-heading" id="project-title-panel">
9494
<span id="project-title-text">Membership Status</span><br>

resources/views/project_library.blade.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
@foreach ($projects->sortByDesc('created_at') as $project)
66

7-
<div class="container">
87
<div class="row">
9-
<div class="col-md-8">
8+
<div class="col-md-12">
109
<div class="panel panel-default" id="outside-panel">
1110

1211
<div class="panel-heading" id="project-title-panel" >
@@ -22,7 +21,7 @@
2221
</div>
2322
</div>
2423
</div>
25-
</div>
24+
2625

2726
@endforeach
2827

0 commit comments

Comments
 (0)