Skip to content

Commit ad1355d

Browse files
Enhance welcome page styling with custom CSS and image container adjustments
1 parent 5c3f2db commit ad1355d

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

resources/views/welcome.blade.php

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,36 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>Simpede</title>
77
<link rel="stylesheet" href="{{ asset('css/tailwind.min.css')}}">
8-
8+
<style>
9+
.image-container {
10+
border: 5px solid hsla(143, 73.90%, 53.30%, 0.27);
11+
border-radius: 10px;
12+
overflow: hidden;
13+
display: flex;
14+
justify-content: center;
15+
align-items: center;
16+
}
17+
18+
.image-container img {
19+
width: 100%;
20+
height: 100%;
21+
object-fit: cover;
22+
opacity: 0.9;
23+
}
24+
25+
/* Default selection color */
26+
::selection {
27+
background-color:rgb(19, 207, 182); /* Light orange */
28+
color: #ffffff; /* White text */
29+
}
30+
31+
/* For Mozilla browsers */
32+
::-moz-selection {
33+
background-color:rgb(19, 207, 182);
34+
color: #ffffff;
35+
}
36+
37+
</style>
938
</head>
1039

1140
<body class="font-libre_franklin text-base text-black dark:text-white bg-white dark:bg-slate-900">
@@ -75,7 +104,7 @@
75104
</div>
76105

77106
<div class="lg:ms-8">
78-
<div class="relative">
107+
<div class="relative image-container">
79108
<img src="{{ asset('images/hero-media-dark.png') }}" class="relative top-8 hidden dark:inline-block" alt="">
80109
<img src="{{ asset('images/hero-media-light.png') }}" class="relative top-8 inline-block dark:hidden" alt="">
81110
</div>
@@ -291,9 +320,6 @@
291320
<i data-feather="link-2" class="size-48 text-teal-500 opacity-[0.04] dark:opacity-[0.04] group-hover:opacity-10 duration-500"></i>
292321
</div>
293322
</div><!--end feature content-->
294-
295-
296-
297323
</div><!--end grid-->
298324
</div><!--end container-->
299325
</section><!--end section-->

0 commit comments

Comments
 (0)