This repository was archived by the owner on Nov 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnot-logged.component.scss
More file actions
177 lines (141 loc) · 2.59 KB
/
Copy pathnot-logged.component.scss
File metadata and controls
177 lines (141 loc) · 2.59 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
@import '../../shared/styles/fonts';
@import '../../shared/styles/colors';
$dark-color: $dark;
$light-color: $darker;
$main-font: $font-content;
$font-2: $font-header;
$bg-color: $light;
.name-part {
color: $light-color;
}
#about {
background-color: $bg-color;
h1 {
display: none;
}
}
.page {
min-height: 100vh; // viewport height
width: 100%;
}
#introduction {
background-color: $bg-color;
color: $dark-color;
padding: 50px 0 20px;
font: 20px $main-font;
text-align: center;
}
.app-url {
font: 70px $font-2;
font-weight: bold;
margin-top: 30px;
}
.app-summary {
font-family: $main-font;
font-style: italic;
margin-top: 20px;
margin-bottom: 40px;
}
.app-name-meaning {
font: 30px/1.2 $main-font;
}
#email-contact {
font-style: italic;
}
.button-container {
text-align: center;
.button {
font: 25px $font-2;
text-decoration: none;
padding: 7px 10px;
margin: 5px;
transition: all 200ms ease;
display: inline-block;
color: $light-color;
border: 2px solid $dark-color;
&:hover {
color: $bg-color;
background-color: $dark-color;
}
&[disabled] {
color: gray;
background-color: $bg-color;
}
}
}
.info-section {
color: $dark-color;
font: 1.2em/1.5 $main-font;
h1 {
font: 60px $font-2;
font-weight: bold;
color: $light-color;
}
h2 {
font: 50px $font-2;
font-weight: bold;
padding: 20px 0 10px;
color: $light-color;
}
ul {
padding: 1em 20px;
list-style: disc;
}
p {
padding: 0.5em 0;
}
}
a {
color: $light-color;
text-decoration: none;
&:hover {
color: $bg-color;
background-color: $dark-color;
}
}
.nav-back {
font-size: smaller;
color: gray;
text-align: right;
float: right;
}
// display screenshots and description next to each other
// every second section has reverse order, to show image on the left
// there is a space of 1em between image and description
@media (min-width: 513px) {
.works-section {
display: flex;
justify-content: space-between;
> div {
flex: 1;
> p:nth-of-type(1) {
padding-top: 0;
}
}
&:nth-of-type(even) {
flex-direction: row-reverse;
p {
padding-left: 1em;
}
}
&:nth-of-type(odd) {
p {
padding-right: 1em;
}
}
}
}
// screenshots and description for mobile display
@media (max-width: 512px) {
.works-section {
display: block;
}
}
.works-section {
text-align: justify;
}
.screenshot {
width: 100%;
border: 2px solid $light-color;
}
// end of displaying screenshots and info