mirror of
https://github.com/ae-utbm/sith.git
synced 2026-04-28 09:36:07 +00:00
improve main page style
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#news {
|
||||
display: flex;
|
||||
gap: 1em;
|
||||
|
||||
@media (max-width: 800px) {
|
||||
flex-direction: column;
|
||||
@@ -26,12 +27,14 @@
|
||||
}
|
||||
|
||||
h3 {
|
||||
background: $second-color;
|
||||
box-shadow: $shadow-color 1px 1px 1px;
|
||||
padding: 0.4em;
|
||||
--box-shadow: rgb(60 64 67 / 30%) 0 1px 3px 0, rgb(60 64 67 / 15%) 0 3px 7px 2px;
|
||||
background: lighten($second-color, 5%);
|
||||
box-shadow: var(--box-shadow);
|
||||
padding: .75rem;
|
||||
margin: 0 0 0.5em 0;
|
||||
text-transform: uppercase;
|
||||
font-size: 17px;
|
||||
border-radius: 10px;
|
||||
|
||||
&:not(:first-of-type) {
|
||||
margin: 2em 0 1em 0;
|
||||
@@ -39,12 +42,11 @@
|
||||
|
||||
.feed {
|
||||
float: right;
|
||||
color: #f26522;
|
||||
color: #e25512;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: $small-devices) {
|
||||
|
||||
#left_column,
|
||||
#right_column {
|
||||
flex: 100%;
|
||||
@@ -57,6 +59,7 @@
|
||||
max-height: 600px;
|
||||
overflow-y: scroll;
|
||||
overflow-x: clip;
|
||||
margin-top: 1em;
|
||||
|
||||
#load-more-news-button {
|
||||
text-align: center;
|
||||
@@ -76,15 +79,11 @@
|
||||
font-size: 70%;
|
||||
margin-bottom: 1em;
|
||||
|
||||
h3 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#links_content {
|
||||
overflow: auto;
|
||||
box-shadow: $shadow-color 1px 1px 1px;
|
||||
min-height: 20em;
|
||||
padding-bottom: 1em;
|
||||
padding: 1em;
|
||||
|
||||
h4 {
|
||||
margin-left: 5px;
|
||||
@@ -121,6 +120,8 @@
|
||||
}
|
||||
|
||||
#birthdays_content {
|
||||
box-shadow: $shadow-color 1px 1px 1px;
|
||||
padding: 1em;
|
||||
ul.birthdays_year {
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
@@ -135,8 +136,7 @@
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
margin-left: 1em;
|
||||
margin: .5em 0 0 1em;
|
||||
list-style-type: square;
|
||||
list-style-position: inside;
|
||||
font-weight: normal;
|
||||
@@ -150,9 +150,13 @@
|
||||
/* EVENTS TODAY AND NEXT FEW DAYS */
|
||||
.news_events_group {
|
||||
box-shadow: $shadow-color 1px 1px 1px;
|
||||
margin-left: 1em;
|
||||
margin-left: 0;
|
||||
margin-bottom: 0.5em;
|
||||
|
||||
@media screen and (max-width: $small-devices) {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.news_events_group_date {
|
||||
display: table-cell;
|
||||
padding: 0.6em;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<a target="#" href="{{ url("com:news_feed") }}"><i class="fa fa-rss feed"></i></a>
|
||||
</h3>
|
||||
{% if user.is_authenticated and (user.is_com_admin or user.memberships.board().ongoing().exists()) %}
|
||||
<a class="btn btn-blue margin-bottom" href="{{ url("com:news_new") }}">
|
||||
<a class="btn btn-blue" href="{{ url("com:news_new") }}">
|
||||
<i class="fa fa-plus"></i>
|
||||
{% trans %}Create news{% endtrans %}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user