-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.css
90 lines (79 loc) · 2.15 KB
/
index.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
.hp-menu {
font-size: 1em;
display: grid;
grid-template-columns: 1fr;
margin: auto;
padding: 0;
width: 80vw;
text-align: center;
justify-items: center;
}
.hp-card {
color: var(--light-color);
font-size: 2em;
font-weight: bold;
background-color: var(--bright-color);
padding: 0;
border: var(--dark-color) 1px solid;
margin: 0.5rem;
transition: transform .2s;
/* background-image: url("pictures/virtual-reality-300.jpg");
background-repeat: no-repeat; */
width: 288px;
height: 288px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
/* box-shadow: 0.5em 0.5em 0.5em var(--soft-color); */
}
.hp-card p {
margin: 0;
}
.hp-card:hover {
background-image: url("pictures/virtual-reality-300.jpg");
background-repeat: no-repeat;
/* box-shadow: 0em 0em 0em var(--soft-color); */
cursor: pointer;
/* background-color: var(--dark-color); */
/* -webkit-transition: background-color 10s ease-out;
-moz-transition: background-color 10s ease-out;
-o-transition: background-color 10s ease-out;
transition: background-color 10s ease-out; */
transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.hp-card-description {
font-size: 1rem;
font-style: italic;
font-weight: normal;
}
.hp-card-button {
display: inline-block;
font-size: 1rem;
font-weight: normal;
width: auto;
margin: 0;
margin-top: 2rem;
/* background-color: var(--bg-color);
border: var(--bright-color) 1px solid; */
color: var(--light-color);
background-color: var(--bright-color);
border: var(--light-color) 2px solid;
padding: 0.5rem;
/* border-radius: 0.5rem; */
}
.hp-card-button:hover {
border: var(--bright-color) 1px solid;
background-color: var(--light-color);
color:var(--bright-color)
}
.hp-card-button:hover a{
color:var(--light-color)
}
/* Version Desktop */
@media screen and (min-width: 640px) {
.hp-menu {
grid-template-columns: 1fr 1fr;
width: 640px;
}
}