-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
121 lines (106 loc) · 1.94 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
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
/** GLOBAL VARIABLE **/
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
:focus {
outline: none;
}
header {
height: 100vh;
background: #b5966a;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background-image: url('image/background.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.container {
position: relative;
width: 30rem;
height: 90%;
margin: auto;
border: 2px #fff solid;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 2px 9px 10px 0px rgb(0 0 0), -2px 5px 5px rgb(0 0 0);
}
.content {
display: flex;
align-content: center;
justify-content: center;
align-items: center;
flex-direction: column;
}
h1 {
font-size: 3rem;
color: #fff;
font-weight: 500;
}
h2 {
text-transform: uppercase;
}
#number {
font-size: 13rem;
font-weight: 500;
color: #008000;
}
.btn {
display: block;
padding: 10px 1rem;
border-radius: 5px;
box-shadow: 1px 1px 5px #000, 1px 1px 5px #000;
font-size: 1.3rem;
font-weight: 200;
background: #0d2c54;
color: #fff;
outline: none;
border: none;
cursor: pointer;
margin-bottom: 1rem;
transition: 0.6s;
}
.btn:hover,
.btn:focus {
background: #008000;
color: #000;
}
.logo {
display: flex;
width: 50%;
margin-top: 1.5rem;
justify-content: space-between;
}
.hashnode {
width: 100%;
max-width: 40px;
transition: 0.6s;
}
.hashnode:hover {
transform: rotate(1turn);
}
a {
text-decoration: none;
font-size: 3rem;
color: #000;
transition: 0.6s;
}
a:hover,
a:focus {
color: #008000;
transform: rotate(1turn);
}
/** MEDIA QUERIES **/
@media (max-width: 600px) {
.container {
width: 90%;
}
}