Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Severin <severinderek@gmail.com>2022-01-08 14:28:46 +0300
committerDerek Severin <severinderek@gmail.com>2022-01-08 14:28:46 +0300
commit0b192a50550e0105801cc9c63d7d36afc5e936e2 (patch)
treed236c9642bf9d6b4c41a1ab98fe710a06fab4a7f
parent5fea815bab2add2ec77f91db12d6d592ebca0b0f (diff)
width page fix
-rw-r--r--TODO/TODO.md1
-rw-r--r--static/css/theme.css12
2 files changed, 9 insertions, 4 deletions
diff --git a/TODO/TODO.md b/TODO/TODO.md
index d325fa6..1709094 100644
--- a/TODO/TODO.md
+++ b/TODO/TODO.md
@@ -2,6 +2,7 @@
!!!!
+- FIX bug with offset when going from page to homepage using navbar
- ADAPT EXAMPLE SITE! +config.toml!!
- add CSS+layout variables changes in README + exampleSite config.toml!
- make animations "one shot"? (or keep repeat as-is now?)
diff --git a/static/css/theme.css b/static/css/theme.css
index 8af0f5a..1a75717 100644
--- a/static/css/theme.css
+++ b/static/css/theme.css
@@ -11,12 +11,12 @@
/* GENERAL - HTML TAGS */
html {
- width: 100vw;
+ width: 100%;
height: 100vh;
}
body {
- width: 100vw;
+ width: 100%;
height: 100vh;
font-family: var(--GENERAL-FONT, var(--GENERAL-FONT-1));
@@ -479,7 +479,8 @@ padding: 2em 2em 2em 2em;
}
.profile .text-primary p {
- font-size: 1.5em;
+ /* 2-REC TODO: set as custom param */
+ font-size: 1.25em;
font-weight: 300;
}
@@ -865,6 +866,7 @@ background-color: var(--about-bkg-color);
padding: 5%;
//margin: 5px;
background-color: var(--about-bkg-color);
+background-color: white;
//background-color: grey;
//text-align: right;
@@ -986,11 +988,13 @@ background-size: cover;
width: var(--about-image-width);
height: auto;
+ /* 2-REC TODO: set as custom param */
+ max-width: 300px;
}
/*@media (min-width: 64em) {*/
@media (max-width: 992px) {
#about .portrait {
- /* 2-REC TODO: set as custom param */
+ /* 2-REC TODO: set as custom param (different from other) */
max-width: 300px;
}
}