-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
93 lines (89 loc) · 1.62 KB
/
styles.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
:root {
--size: 30px;
--theme : 0; /* 0 -> dark, 1 -> Light*/
--foreground: white;
--background: rgb(29,29,29);
}
body{
background-color: var(--background);
margin: 0;
color: var(--foreground);
text-align: center;
font-family: 'Courier New', Courier, monospace;
}
header h1{
font-size: 60px;
}
.theme{
position: absolute;
font-size: 30px;
right: 20px;
top: 10px;
padding: 10px;
cursor: pointer;
}
.box{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.proj{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 5px;
cursor: pointer;
}
.proj-img{
width: 100%;
max-width: 400px;
margin: 20px;
}
a.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
border: 1px solid var(--foreground);
/* height: 40px; */
/* width: 100px; */
margin-bottom: 10px;
padding: 5px 20px;
font-size: 40px;
transition: 0.3s ease all;
color: var(--foreground);
}
a.button:hover{
background-color: rgb(141, 177, 245);
cursor: pointer;
}
@media only screen and (max-width: 411px){
header h1{
margin-top: 50px;
font-size: 50px;
}
.theme{
top:5px;
}
.box{
width: 100%;
}
.proj{
width: 100%;
margin:10px;
}
.proj-img{
margin: 10px;
width: 100%;
}
a.button{
font-size: 30px;
}
}
@media only screen and (max-width: 840px){
.proj{
max-width: 350px;
margin: 10px;
}
}