Archived
1
0
Fork 0

Prepare for view

This commit is contained in:
Ziedelth 2022-03-22 15:28:32 +01:00
parent e01953f0c8
commit 82b8cf4953
2 changed files with 58 additions and 1 deletions

View file

@ -0,0 +1,31 @@
:root {
--main-color: #E50914;
}
* {
color: white;
}
body {
background-color: black;
}
.color-text {
color: var(--main-color);
}
.color-border {
border-color: var(--main-color) !important;
}
.description {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.description:hover {
text-overflow: unset;
white-space: unset;
overflow: unset;
}

View file

@ -1,5 +1,31 @@
<html> <html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<title>FilmFlix</title>
</head>
<body> <body>
<h2>Hello World!</h2> <div class="container-fluid">
<h2 class="text-center color-text">FilmFlix</h2>
<div class="row g-3">
<div class="col-md-3">
<div class="border rounded color-border p-2">
<h5 class="color-text text-center">Lorem ipsum dolor sit amet, consectetur adipisicing elit. At debitis expedita quaerat? Ad delectus dolorem dolorum excepturi impedit quae recusandae! Alias at aut corporis eius, hic ipsum recusandae sequi velit?</h5>
<p class="description mb-0">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque dicta necessitatibus sequi. Accusantium architecto corporis, deleniti dolorem eligendi et excepturi fugit id in iste, magni officia quos ut vel velit? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laborum, numquam quibusdam? Adipisci corporis dicta eos, esse eveniet hic id iusto maxime minima, natus neque nihil, porro quas soluta unde voluptate. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium architecto commodi dignissimos dolore ducimus eum fuga hic ipsa laborum minima mollitia, nulla officia quasi recusandae repellendus reprehenderit, sed similique, temporibus. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores aut autem beatae cupiditate hic magnam maxime natus neque odit perferendis porro quaerat quidem repellendus sequi sunt temporibus, ut velit voluptatum!</p>
<div class="d-flex">
<span class="me-auto text-muted">Il y a 20 minutes</span>
<span class="ms-auto text-muted">1h20min</span>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</body> </body>
</html> </html>