-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
118 lines (110 loc) · 2.4 KB
/
Copy pathstyle.css
File metadata and controls
118 lines (110 loc) · 2.4 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
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
*{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Times New Roman', Times, serif;
font-style: oblique;
color: blueviolet;
}
body {
background: linear-gradient(yellow, rgb(247, 71, 100), rgb(67, 171, 240), orange, rgb(202, 9, 250), rgb(169, 86, 247)) repeat;
width: 100vw;
height: 100vh;
max-width: 100%;
}
main{
margin: 0 10%;
}
section{
display: flex;
}
.card-container {
width: 100%;
height: auto;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.cards{
width: 70%;
height: auto;
}
.card {
background-color: rgba(241, 212, 247, 0.75);
width: 160px;
height: 140px;
min-width: fit-content;
min-height: fit-content;
text-align: center;
margin: 0.5em;
border: 5px solid rgb(224, 100, 218);
cursor: pointer;
border-radius: 9%;
font-size: 2rem;
font-weight: 700;
color:#02075D;
flex: 0 0 auto;
margin: 6px;
}
.card:hover {
background-color: rgba(255, 180, 224, 0.514);
border-color:rgb(174, 0, 255);
color: #6c9bc7;
}
.card img {
max-width: 6rem;
max-height: 6rem;
}
h1, h2 {
font: 900 50px/55px "Arial";
text-align: center;
}
.main-title{
width: max-content;
background-color: rgba(241, 212, 247, 0.75);
border: 5px solid rgb(224, 100, 218);
margin: 2% 2%;
font-size: 3.2rem;
padding: 4%;
border-radius: 50px 50px 50px 50px / 40px 40px 40px 40px;
}
h2{
margin-top: -20%;
text-align: center;
font-size: 1.2rem;
}
/* ******************************************
************MOBILE STYLES*****************
****************************************** */
@media (max-width: 650px) {
.card {
width: 120px;
height: 100px;
margin: 0.1em;
font-size: 1.2rem;
}
.card img {
max-width: 4rem;
max-height: 4rem;
}
}
@media (max-width: 505px) {
.main-title{
font-size: 2rem;
}
.card {
width: 120px;
height: 100px;
margin: 0.1em;
font-size: 0.8rem;
}
.card-container {
width: 100%;
height: auto;
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
}