@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/mixins" as mix;
@use "@styles/abstracts/placeholders";
.article {
composes: grid from "@styles/layout/_grid.scss";
align-items: start;
> header {
grid-column: 1 / -1;
}
> footer,
.body {
grid-column: 2;
}
&--no-comments {
margin-bottom: var(--spacing-xl);
}
}
.body noscript {
display: block;
width: 100%;
text-align: center;
}
.list {
@extend %reset-ordered-list;
}
li.item {
margin: 0 0 var(--spacing-md) 0;
border-bottom: fun.convert-px(1) solid var(--color-border);
}
.comments {
grid-column: 1 / -1;
composes: grid from "@styles/layout/_grid.scss";
margin: var(--spacing-md) 0 0;
padding: var(--spacing-md) 0 var(--spacing-lg);
background: var(--color-bg-secondary);
border-top: fun.convert-px(3) solid var(--color-border-light);
> * {
grid-column: 2;
}
}
' value='502f45925a1d2c47e161b342e1748edd7d20293f'/>
blob: 297ce149488461f428770bc70172a27ecdd3d864 (
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
|
version: '3.8'
services:
apcom:
image: ${APP_DOCKER_REGISTRY_DOMAIN}/apcom
build:
context: .
dockerfile: Dockerfile
args:
APP_ENV: production
DOCKER_PORT: ${APP_DOCKER_PORT:-3000}
container_name: apcom
deploy:
resources:
limits:
cpus: '0.2'
memory: 50M
reservations:
cpus: '0.1'
memory: 20M
env_file:
- .env
environment:
APP_ENV: production
ports:
- '${APP_DOCKER_PORT:-3000}:${APP_DOCKER_PORT:-3000}'
restart: always
apcom-staging:
image: ${APP_DOCKER_REGISTRY_DOMAIN}/apcom-staging
build:
context: .
dockerfile: Dockerfile
args:
APP_ENV: staging
DOCKER_PORT: ${APP_STAGING_DOCKER_PORT:-3200}
container_name: apcom-staging
deploy:
resources:
limits:
cpus: '0.2'
memory: 50M
reservations:
cpus: '0.1'
memory: 20M
env_file:
- .env
environment:
APP_ENV: staging
ports:
- '${APP_STAGING_DOCKER_PORT:-3200}:${APP_STAGING_DOCKER_PORT:-3200}'
|