-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (117 loc) · 1.95 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
html{
box-sizing: border-box;
font-size: 62.5%;
}
*,* :before, *:after{
box-sizing: inherit;
}
body{
font-size: 1.6rem;
line-height: 2;
background: linear-gradient(to right, #0f3443, #34e89e);
}
/* Generals*/
h1{
margin: 0;
font-size: 8rem;
}
h2{
margin: 0;
font-size: 6rem;
}
h4{
margin: 0;
font-size: 2.8rem;
}
a{
text-decoration: none;
}
p{
margin: 0;
font-size: 1.8rem;
}
.title{
display: inline-block;
position: relative;
}
.title::after,.title::before{
content: '';
position: absolute;
width: 12rem;
height: .4rem;
background-color: black;
top: 6.5rem;
}
.title::after{
left: -14rem;
}
.title::before{
right: -14rem;
}
img{
width: 100%;
}
.course{
font-weight: bold;
}
/* Header */
.Introduction{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0;
padding: 8rem 20rem 2rem;
text-align: center;
}
/* Projects */
.Projects{
text-align: center;
}
.container{
width: 100%;
max-width: 180rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.container .card{
width: 33rem;
height: 43rem;
border-radius: 0.8rem;
box-shadow: 0 0.2rem 0.2rem rgba(0, 0, 0, 0.2);
overflow: hidden;
margin: 2rem;
text-align: center;
transition: all 0.25s;
background-color: whitesmoke;
}
.container .card .card_title{
margin: 0;
font-size: 2.8rem;
}
.container .card .card_info{
margin: 0 2rem;
font-size: 1.8rem;
}
.container .card:hover{
transform: translateY(-15px);
box-shadow: 0 1.2rem 1.6rem rgba(0, 0, 0, 0.2);
}
.container .card .card_title{
font-weight: 600;
}
.container .card .card_info{
padding: 0 1rem;
font-size: 1.6rem;
font-weight: 300;
}
.card_buttons{
margin-top: 2rem;
}
#preview, #code{
background-color: black;
border-radius: 1.5rem;
margin: 1.5rem;
}