blob: e1213c27b3ee981e5c325b8eede80510dcb8ab3a (
plain)
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
|
/*****************************************************************************/
/* site title */
@font-face {
font-family: Montserrat-Light;
font-weight: 100;
src: url(../font/Montserrat/Montserrat-Thin.ttf);
}
#site-title {
--color-blue: #0E26B1;
display: flex;
font-family: Montserrat-Light, sans-serif;
font-size: 14vw;
font-weight: 100;
width: 100%;
margin: 0px auto;
text-align: center;
text-transform: uppercase;
background-color: var(--color-blue);
padding: 40px 10px;
}
@media screen and (min-width: 1100px) {
#site-title {
font-size: 9.0rem;
}
}
#site-title div:nth-child(odd) {
transform: translateY(15%);
}
#site-title div:nth-child(even) {
transform: translateY(-15%);
}
#site-title:hover div {
transform: translateY(0);
}
/* after hover to avoid transition on page load */
#site-title div {
transition: transform .3s ease-in-out;
}
/* #site-title::before { */
/* content: ''; */
/* height: 5px; */
/* width: 100%; */
/* background-color: var(--color-white); */
/* } */
/*****************************************************************************/
/* solgan */
.slogan {
margin: 0 auto 50px auto;
padding: 50px 20px;
background: black;
color: red;
text-transform: uppercase;
font-family: Montserrat, sans-serif;
font-weight: bold;
font-style: italic;
font-size: 2rem;
letter-spacing: 10px;
}
@media screen and (min-width: 600px) {
.slogan {
font-size: 2.3rem;
padding: 50px 70px;
}
}
.slogan-row {
display: flex;
justify-content: space-between;
}
.slogan-row:first-child {
margin-bottom: 20px;
}
.slogan:hover .slogan-row {
transition: 0.5s;
justify-content: center;
}
/*****************************************************************************/
/* links */
.links {
display: flex;
justify-content: space-between;
max-width: 350px;
margin: 10px auto 40px auto;
}
.links a.links-item {
display: block;
background-color: var(--color-dark);
padding: 5px 15px;
border-radius: 10px;
}
.links a.links-item img {
height: 30px;
width: 30px;
filter: grayscale(1) invert(1) brightness(200%);
}
.links-item:hover {
filter: invert(1);
}
|