-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
138 lines (118 loc) · 2.11 KB
/
style.css
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");
body {
background-color: #061115;
font-family: "Roboto Mono", monospace;
}
.box-landscape {
position: absolute;
top: 13%;
left: 6%;
padding: 20px;
background-color: #0a1419;
height: auto; /* Adjust height to auto for flexibility */
width: 100%;
max-width: 700px;
box-shadow: -15px 15px 20px #000000;
transition: all 0.2s ease-in-out;
display: flex;
flex-direction: row;
flex-wrap: wrap; /* Allow items to wrap */
}
.box-img2 {
height: 300px;
width: 100%;
max-width: 300px;
}
.links {
flex: 1;
padding-left: 20px;
margin-left: 60px;
font-family: "Roboto Mono", monospace;
color: aliceblue;
font-size: 17px;
font-weight: 100;
padding-top: 30px;
border-color: #162026;
border-style: solid;
border-width: 2px;
}
@media (max-width: 768px) {
.box-landscape {
flex-direction: column;
align-items: center;
padding: 10px;
}
.box-img2 {
height: auto;
width: 80%;
max-width: 250px;
}
.links {
width: 100%;
padding-left: 0;
margin-left: 0;
padding-top: 20px;
border-width: 0; /* Remove border for small screens */
}
.links h4 {
text-align: center;
}
}
@media (max-width: 480px) {
.box-landscape {
top: 10%;
left: 3%;
}
.box-img2 {
width: 70%;
}
.links {
font-size: 15px;
padding-top: 10px;
}
}
h4 {
margin: 6px 3px;
font-weight: 300;
}
a:hover {
color: #6791c9;
}
a {
text-decoration: none;
color: #d9d7d6;
}
.wrapper {
background-color: #162026;
position: relative;
height: 400px;
width: 700px;
margin: 200px auto;
box-shadow: -10px -10px 30px;
}
/* Media queries for mobile devices */
@media only screen and (max-width: 767px) {
.box-landscape {
flex-direction: column;
height: auto;
width: 90%;
top: 10%;
}
.box-img2 {
height: auto;
width: 100%;
}
.links {
height: auto;
width: 100%;
margin-left: 0;
margin-top: 30px;
padding: 20px;
border: none;
}
.wrapper {
height: auto;
width: 90%;
margin: 50px auto;
}
}