Skip to content

Commit

Permalink
Bacground image
Browse files Browse the repository at this point in the history
  • Loading branch information
ConradKash committed Sep 24, 2023
1 parent 0eb421d commit ac4abb4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/front_end/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Sunbird Translate</title>
<link rel="stylesheet" href="output.css">
</head>
<body class=" bg-[url('media/background.png')] bg-cover bg-slate-100" >
<body class=" bg-[url('media/background.png')] bg-cover bg-opacity-20 bg-slate-80" >
<header class="bg-[#282850]">
<div class="mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8" aria-label="Global">
<div class="nav_bar_icon ">
Expand Down
9 changes: 4 additions & 5 deletions app/front_end/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -613,16 +613,15 @@ video {
background-color: rgb(40 40 80 / var(--tw-bg-opacity));
}

.bg-slate-100 {
--tw-bg-opacity: 1;
background-color: rgb(241 245 249 / var(--tw-bg-opacity));
}

.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-opacity-20 {
--tw-bg-opacity: 0.2;
}

.bg-\[url\(\'media\/background\.png\'\)\] {
background-image: url('media/background.png');
}
Expand Down
3 changes: 2 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "tests"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tailwindcss -i ./src/input.css -o ./front_end/output.css --watch"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit ac4abb4

Please sign in to comment.