8000 Added bg image · FeverCode/GAwards@e5f313b · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit e5f313b

Browse files
committed
Added bg image
1 parent 11bd676 commit e5f313b

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

app/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{% endblock %}
2828
</head>
2929

30-
<body>
30+
<body style="background-image: url(https://user-images.githubusercontent.com/66039545/173531125-d5970886-5559-4a01-84ce-60d1c11be460.jpg)">
3131
{% include "navbar.html" %}
3232

3333
{% block content %} {%endblock%}

app/templates/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
</head>
1717

18-
<body>
18+
<body style="background-image: url(https://user-images.githubusercontent.com/66039545/173531125-d5970886-5559-4a01-84ce-60d1c11be460.jpg)">
1919
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark scrolling-navbar" id="nbar">
2020
<div class="container">
2121
<a class="navbar-brand" href="{% url 'index' %}"> <strong class="mr-4 brand"> GAwards</strong></a>

app/templates/project.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% load crispy_forms_tags %}
44
{% block content %}
55
<div class="container" style="margin-top:5%">
6-
<div class="card bg-dark">
6+
<div style="height:90vh;" class="card bg-dark">
77
<div class="view overlay" style="background-image:url({{ post.photo.url}})">
88
<img class="card-img-top img-fluid" style="visibility:hidden" width="100%"
99
src="{{ post.photo.url }}">

app/templates/users/base.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{% load bootstrap5 %}
1+
{% load bootstrap5 %}%%
2+
{%load static%}
23
<!DOCTYPE html>
34
<html>
45

@@ -22,10 +23,11 @@
2223
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.3/font/bootstrap-icons.css">
2324
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
2425
<link href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700" rel="stylesheet">
26+
<link rel="stylesheet" href="{% static 'css/baseapp.css' %}">
2527
{% endblock %}
2628
</head>
2729

28-
<body>
30+
<body style="background-image: url(https://user-images.githubusercontent.com/66039545/173531125-d5970886-5559-4a01-84ce-60d1c11be460.jpg)">
2931

3032

3133
{% block content %} {%endblock%}

app/templates/users/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "users/base.html" %}
22
{% load crispy_forms_tags %}
33
{% block content %}
4-
<div class="container">
4+
<div class="container text-light">
55
<div style="margin-top:40px;" class="content-section">
66
<div class="media">
77
<img class="rounded-circle account-img" src="{{ user.profile_photo.image.url }}">

static/css/baseapp.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ background: -webkit-linear-gradient(to right, rgba(251, 194, 235, 1), rgba(166,
99
background: linear-gradient(to right, rgba(251, 194, 235, 1), rgba(166, 193, 238, 1))
1010
}
1111

12-
#design{
13-
color: black;
14-
}

0 commit comments

Comments
 (0)
0