-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (81 loc) · 2.17 KB
/
Copy pathstyle.css
File metadata and controls
92 lines (81 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.header {
position: absolute; /* Position it relative to the body */
top: 20px; /* Space from the top */
left: 20px; /* Space from the left */
font-size: 1.5em; /* Font size */
font-weight: bold;
color: #0f0801; /* Text color */
/*background: rgba(255, 255, 255, 0.8); /* Optional: background color with transparency */
padding: 10px; /* Padding around the text */
/*border-radius: 5px; /* Rounded corners */
/*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: slight shadow */
z-index: 1000; /* Ensure it stays above other elements */
display: flex; /* Use flexbox for alignment */
align-items: center; /* Center items vertically */
}
.logo {
width: 40px; /* Set the width of the logo */
height: auto; /* Maintain aspect ratio */
margin-right: 10px; /* Space between logo and text */
}
body {
font-family: 'Segoe UI',sans-serif;
}
.container {
display: flex;
height: 100vh;
}
.left {
flex: 1;
padding: 20px;
background-image: url('Images/sunset.jpg'); /* Update the path here */
background-size: cover; /* Cover the entire container */
background-position: center; /* Center the image */
display: flex; /* Enable flexbox */
flex-direction: column; /* Arrange children in a column */
justify-content: center; /* Center items vertically */
align-items: center; /* Center items horizontally */
text-align: center; /* Center text */
filter: blur(2px);
z-index:0;
}
.left h1 {
font-size: 2.5em;
margin-bottom: 10px;
color:#100802;
z-index:1000;
}
.left p {
font-size: 1.2em;
line-height: 1.6;
color:#413f3e;
}
.right {
flex: 1;
}
.right img {
width: 100%;
height: 100%;
object-fit: cover;
}
.columnLeft {
float: left;
width: 50%;
color:red
}
.columnRight {
float: left;
width: 50%;
color:blue;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}