-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
82 lines (81 loc) · 1.78 KB
/
Copy pathstyles.css
File metadata and controls
82 lines (81 loc) · 1.78 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
body{
background-color:#1a2b1f;
color:#dce3c1;
font-family:Verdana, Geneva, Tahoma, sans-serif;
text-align:center;
align-items:center;
}
.Invisiblelink{
font-weight:bold;
color:#dce3c1;
text-decoration:none;
}
div img {
max-width: 75%;
margin:auto;
height: auto;
border:5px solid #0e1711;
box-shadow: -0.5rem 0.5rem 0.5rem #0e1711;
transition: box-shadow 0.25s;
}
div:hover img {
max-width: 75%;
margin:auto;
height: auto;
border:5px solid #0e1711;
box-shadow: -0.5rem 0.5rem 0.5rem #437854;
transition: box-shadow 0.25s;
}
div{
margin-top:50px;
margin-left:25%;
margin-right:25%;
border: 7px solid #0e1711;
transform:scale(1);
transition: transform 0.25s;
}
.introduction{
margin-left:25%;
margin-right:25%;
font-size:large
}
h1{
display: inline-block;
font-family:Arial Black;
letter-spacing:0.2rem;
font-size:8rem;
margin-top:3%;
margin-bottom:3%;
transform:scale(1);
transition:transform 0.20s;
}
h1:hover{
display: inline-block;
transform:scale(1.1);
transition:transform 0.2s;
}
div h2 {
width: 75%;
margin-left: auto;
margin-right: auto;
margin-bottom:5%;
margin-top:5%
}
.text{
margin-top:30px
}
div:hover{
transform:scale(1.1);
transition: transform 0.25s;
}
/* If ur looking at my code, this is the only section i used AI copy paste and this is beacouse i didn't know about the @media .*/
@media (max-width: 600px) {
div {
width: 95%; /* Make the div almost full screen width */
margin: 10px auto; /* Center it with a little gap at the top/bottom */
padding: 10px; /* Shrink padding so there's more room for content */
}
h1 {
font-size: 2.5rem; /* Make the "Projects" title a bit smaller for phones */
}
}