14 Commits
v0.1 ... v0.2

Author SHA1 Message Date
cupcakearmy
c4e54ff847 smaller padding 2019-05-04 14:26:52 +02:00
cupcakearmy
8a5dff9e28 increase upload limit 2019-05-04 14:26:41 +02:00
cupcakearmy
786dff5ee6 margin bottom for ios 2019-05-03 18:22:08 +02:00
cupcakearmy
4f68f3d72c margin bottom for ios 2019-05-03 18:15:48 +02:00
cupcakearmy
62df154688 overflow of long word 2019-05-03 18:03:53 +02:00
cupcakearmy
32e0b63718 overflow of long word 2019-05-03 17:59:07 +02:00
cupcakearmy
546ee17844 ios smooth scrolling 2019-05-03 17:55:01 +02:00
cupcakearmy
06be702099 line height and link underline in body 2019-05-03 15:59:38 +02:00
cupcakearmy
cac63b53cc pre round corners 2019-05-03 15:59:26 +02:00
cupcakearmy
61188ff01a title tag 2019-05-03 11:01:35 +02:00
cupcakearmy
88bd93423b version bump 2019-05-03 10:25:58 +02:00
cupcakearmy
b5ddb8ba2a increase upload limit 2019-05-03 10:25:44 +02:00
cupcakearmy
5dc38cc328 remove ini set from functions file 2019-05-03 10:25:32 +02:00
cupcakearmy
855d3bc6e4 ingore idea files 2019-05-03 10:25:13 +02:00
7 changed files with 22 additions and 16 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
.idea
data/ data/

View File

@@ -4,6 +4,7 @@ services:
wp: wp:
image: wordpress:5-apache image: wordpress:5-apache
volumes: volumes:
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro
- ./data/wp:/var/www/html - ./data/wp:/var/www/html
- ./liquet:/var/www/html/wp-content/themes/liquet:ro - ./liquet:/var/www/html/wp-content/themes/liquet:ro
ports: ports:
@@ -15,11 +16,4 @@ services:
restart: always restart: always
volumes: volumes:
- ./data/db:/var/lib/mysql - ./data/db:/var/lib/mysql
env_file: .env env_file: .env
# adminer:
# image: adminer
# restart: always
# ports:
# - 8080:8080

View File

@@ -1,6 +1,11 @@
#singular #main { #singular #main {
padding: 8vw 0; padding: 8vw 0 16vh 0;
overflow: auto; overflow: auto;
overflow-wrap: break-word;
}
#singular #main a {
text-decoration: underline;
} }
#singular #header { #singular #header {
@@ -20,12 +25,13 @@
#singular #content { #singular #content {
width: 100%; width: 100%;
padding: 0 2em; padding: 0 1em;
} }
#singular #content > * { #singular #content > * {
max-width: var(--text-width); max-width: var(--text-width);
width: 100%; width: 100%;
line-height: 1.5;
} }

View File

@@ -1,10 +1,7 @@
<?php <?php
@ini_set( 'upload_max_size' , '128M' );
@ini_set( 'post_max_size', '128M');
@ini_set( 'max_execution_time', '300' );
add_theme_support( 'align-wide' ); add_theme_support( 'align-wide' );
add_theme_support( 'title-tag' );
add_action( 'wp_enqueue_scripts', function () { add_action( 'wp_enqueue_scripts', function () {
wp_enqueue_style( 'flex', get_template_directory_uri() . '/css/flex.css' ); wp_enqueue_style( 'flex', get_template_directory_uri() . '/css/flex.css' );

View File

@@ -5,7 +5,6 @@
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<?php add_theme_support( 'title-tag' ); ?>
<?php wp_head(); ?> <?php wp_head(); ?>
</head> </head>
<body> <body>

View File

@@ -2,7 +2,7 @@
Theme Name: Liquet Theme Name: Liquet
Author: Niccolo Borgioli Author: Niccolo Borgioli
Description: Minimalistic clean theme Description: Minimalistic clean theme
Version: 0.1 Version: 0.2
License: MIT License: MIT
Tags: minimal, simple, typography, clean Tags: minimal, simple, typography, clean
Author URI: https://nicco.io Author URI: https://nicco.io
@@ -12,6 +12,7 @@ Theme URI: https://github.com/cupcakearmy/liquet
* { * {
box-sizing: border-box; box-sizing: border-box;
-webkit-overflow-scrolling: touch;
--clr-primary: hsl(194, 100%, 88%); --clr-primary: hsl(194, 100%, 88%);
--clr-white: #ffffff; --clr-white: #ffffff;
--clr-black: #000000; --clr-black: #000000;
@@ -36,6 +37,8 @@ pre {
overflow: auto; overflow: auto;
background-color: var(--clr-ligher); background-color: var(--clr-ligher);
padding: 1em; padding: 1em;
border-radius: .25em;
overflow-wrap: initial;
} }
a { a {

5
uploads.ini Normal file
View File

@@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300