Skip to content

Commit f74b1b1

Browse files
committed
add some media fancy desing basics to backgrounds
1 parent 5a6b57f commit f74b1b1

File tree

7 files changed

+21
-8
lines changed

7 files changed

+21
-8
lines changed

cweb/elcurrencyfiles/css/currencyweb.css

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,21 @@
4444
background-size: cover;
4545
background-repeat: no-repeat;
4646
}
47-
@media screen and (min-width:800px) {
48-
.contain-login{
49-
height: 100vh !important;
50-
}
51-
}
47+
.contain-currency{
48+
height: 100vh !important;
49+
background-image: url('../media/currency-data-money-currency.jpg');
50+
background-size: cover;
51+
background-repeat: no-repeat;
52+
}
53+
.contain-history{
54+
height: 100vh !important;
55+
background-image: url('../media/currency-history-media.jpg');
56+
background-size: cover;
57+
background-repeat: no-repeat;
58+
}
59+
.contain-homesession{
60+
height: 100vh !important;
61+
background-image: url('../media/currencyhome.jpg');
62+
background-size: cover;
63+
background-repeat: no-repeat;
64+
}
89.8 KB
Loading
61.3 KB
Loading
264 KB
Loading

cweb/elcurrencyweb/views/currency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<div class="col py-1" style="background-color: #f9faff;">
2+
<div class="col py-1 d-flex contain-currency" style="background-color: #f9faff;">
33
<!-- <section>
44
<div id="contain-modal"> -->
55
<!-- HERE IS THE DIALOG PLACE -->

cweb/elcurrencyweb/views/history.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
$titleini = 'History of your coins rate';
33
$titlesub = 'Filtering total of ';
4-
echo div_open('class="col py-3"');
4+
echo div_open('class="col py-3 d-flex contain-history"');
55
echo '<section>';
66
echo div_open('id="liveAlertPlaceholder"');
77
echo div_close();

cweb/elcurrencyweb/views/home.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<!-- HOME BUTTONS CARD INI -->
3-
<div class="col py-0 px-0">
3+
<div class="col py-0 px-0 contain-homesession">
44
<div class="contain-image">
55
<div class="card-deck d-flex justify-content-around flex-wrap">
66
<div class="card m-3" style="width: 300px;">

0 commit comments

Comments
 (0)