-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
148 lines (118 loc) · 2 KB
/
style.css
File metadata and controls
148 lines (118 loc) · 2 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
* {
margin: 0;
border: 0;
padding: 0;
}
body {
background-color: rgb(7, 12, 29);
font-family: 'Roboto', sans-serif;
color: white;
}
header {
padding: 30px;
}
header a {
padding: 0px 30px;
color: white;
}
/* === ABOUT === */
.principal_content {
text-align: center;
color: rgb(255, 255, 255);
font-size: 24px;
line-height: 34px;
}
.principal_content img {
border: 4px solid green;
border-radius: 50%;
}
section.content {
max-width: 600px;
}
section div {
padding: 16px 24px;
}
.links {
text-align: center;
}
.links a {
padding: 0px 8px;
cursor: pointer;
}
/* === CONTENT === */
header h1 {
text-align: center;
}
.courses {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 20px;
margin: 8px;
}
.courses .courses_content {
background-color: rgb(12, 12, 17);
border: 1px solid white;
border-radius: 8px;
}
.courses img {
width: 100%;
}
.courses h2 {
font-size: 24px;
max-width: 400px;
}
.info{
display: grid;
grid-template-columns: 1fr 1fr;
}
.info p{
height: 8px;
filter: brightness(0.5);
}
/* === MODAL === */
.modal {
background-color: rgba(0, 0, 0, 0.8);
height: 100%;
width: 100%;
position: fixed;
top: 0;
opacity: 0;
visibility: hidden;
}
.modal .modal_content {
background-color: white;
width: 80%;
height: 80%;
position: relative;
margin: 8vh auto;
}
.modal .icons_modal {
color: black;
position: absolute;
cursor: pointer;
right: 8px;
top: 2px;
}
/* === MODAL ACTIVE === */
.modal.active {
opacity: 1;
visibility: visible;
}
iframe {
width: 100%;
height: 90%;
position: relative;
top: 4vh;
}
/* === MODAL MAXIMAZE === */
.modal.maximaze {
opacity: 1;
visibility: visible;
}
.modal.modal.maximaze .modal_content {
width: 100%;
height: 100%;
top: 0;
margin: 0;
}