feat: version 1 done?

This commit is contained in:
Nick 2024-12-23 03:24:08 -06:00
parent d1ba50abd8
commit 76fa1ff381
11 changed files with 114 additions and 115 deletions

View file

@ -31,6 +31,11 @@ headerFontSizeSmall =
F.size 18 F.size 18
smallTextFontSize : Attr decorative msg
smallTextFontSize =
F.size 12
renderCodeLine : SyntaxColors -> List (Element msg) -> Element msg renderCodeLine : SyntaxColors -> List (Element msg) -> Element msg
renderCodeLine colors elements = renderCodeLine colors elements =
paragraph paragraph

View file

@ -140,7 +140,7 @@ tocView toc =
] ]
[ paragraph [ paragraph
[ F.bold [ F.bold
, F.size 23 , headerFontSizeBig
, F.center , F.center
, width fill , width fill
, F.color colourTheme.textLightOrange , F.color colourTheme.textLightOrange
@ -167,7 +167,7 @@ tocView toc =
, el , el
[ F.alignLeft [ F.alignLeft
, E.width fill , E.width fill
, F.size 18 , headerFontSizeSmall
, alignTop , alignTop
] ]
<| <|

View file

@ -1,12 +1,13 @@
module Config.Helpers.Price exposing (..) module Config.Helpers.Price exposing (..)
import Config.Helpers.Format exposing (headerFontSizeBig)
import Config.Style.Colour exposing (colourTheme) import Config.Style.Colour exposing (colourTheme)
import Config.Style.Glow exposing (glowDeepDarkGrey)
import Config.Style.Transitions exposing (hoverPageButtonDeepDarkOrange, transitionStyleMedium) import Config.Style.Transitions exposing (hoverPageButtonDeepDarkOrange, transitionStyleMedium)
import Element as E exposing (..) import Element as E exposing (..)
import Element.Background as B exposing (color) import Element.Background as B exposing (color)
import Element.Border as D exposing (rounded) import Element.Border as D exposing (rounded)
import Element.Font as F exposing (center) import Element.Font as F exposing (center)
import Config.Style.Glow exposing (glowDeepDarkGrey)
buyButton : String -> String -> Element msg buyButton : String -> String -> Element msg
@ -23,7 +24,7 @@ buyButton price url =
el el
[ B.color colourTheme.textDarkOrange [ B.color colourTheme.textDarkOrange
, D.rounded 30 , D.rounded 30
, F.size 25 , headerFontSizeBig
, F.bold , F.bold
, transitionStyleMedium , transitionStyleMedium
, hoverPageButtonDeepDarkOrange , hoverPageButtonDeepDarkOrange

View file

@ -4,6 +4,8 @@ import Config.Data.Identity exposing (pageNames)
import Config.Helpers.Format import Config.Helpers.Format
exposing exposing
( headerFontSizeBig ( headerFontSizeBig
, headerFontSizeMedium
, headerFontSizeSmall
, paragraphFontSize , paragraphFontSize
, paragraphSpacing , paragraphSpacing
) )
@ -18,7 +20,6 @@ import Element as E exposing (..)
import Element.Background as B import Element.Background as B
import Element.Border as D import Element.Border as D
import Element.Font as F import Element.Font as F
import Config.Helpers.Format exposing (headerFontSizeMedium)
bodyFormat : List (Attribute msg) bodyFormat : List (Attribute msg)
@ -83,7 +84,7 @@ highlightedBlockMaker title items =
] ]
[ paragraph [ paragraph
[ F.bold [ F.bold
, F.size 18 , headerFontSizeSmall
] ]
[ text title ] [ text title ]
, column , column
@ -99,7 +100,13 @@ highlightedBlockMaker title items =
[ width <| px 30 [ width <| px 30
, alignTop , alignTop
] ]
[ el [ alignRight, F.size 18 ] <| text " " ] [ el
[ alignRight
, headerFontSizeSmall
]
<|
text " "
]
, column , column
[ spacing 10 [ spacing 10
, width fill , width fill
@ -107,7 +114,7 @@ highlightedBlockMaker title items =
] ]
[ paragraph [ paragraph
[ width fill [ width fill
, F.size 16 , paragraphFontSize
, F.alignLeft , F.alignLeft
] ]
[ row [ row
@ -145,7 +152,13 @@ bulletPointMaker items =
[ width <| px 30 [ width <| px 30
, alignTop , alignTop
] ]
[ el [ alignRight, F.size 18 ] <| text " " ] [ el
[ alignRight
, headerFontSizeSmall
]
<|
text " "
]
, column , column
[ spacing 10 [ spacing 10
, width fill , width fill
@ -153,7 +166,7 @@ bulletPointMaker items =
] ]
[ paragraph [ paragraph
[ width fill [ width fill
, F.size 16 , paragraphFontSize
, F.alignLeft , F.alignLeft
] ]
[ el [ el
@ -194,7 +207,7 @@ numberMaker items =
] ]
[ paragraph [ paragraph
[ width fill [ width fill
, F.size 16 , paragraphFontSize
, F.alignLeft , F.alignLeft
] ]
[ el [ el

View file

@ -188,7 +188,7 @@ instructionBody =
] ]
[ paragraph [ paragraph
[ width fill [ width fill
, F.size 16 , paragraphFontSize
, F.alignLeft , F.alignLeft
] ]
term term

View file

@ -286,18 +286,16 @@ propositionTitleMaker argument =
column column
[ E.width fill, E.alignLeft ] [ E.width fill, E.alignLeft ]
[ paragraph [ paragraph
([ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , headerFontSizeSmall
, F.bold , F.bold
] ]
++ [ F.size 18 ]
)
[ text argument.propositionTitle [ text argument.propositionTitle
|> el |> el
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, F.regular , F.regular
, F.size 16 , paragraphFontSize
] ]
] ]
] ]
@ -336,15 +334,12 @@ reductioMaker =
column column
[ E.alignTop, E.alignLeft ] [ E.alignTop, E.alignLeft ]
[ paragraph [ paragraph
([ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , headerFontSizeSmall
, F.bold , F.bold
] , infoSpacing
++ [ F.size 18 ]
, infoSpacing
]
)
[ el [ el
[ tooltip [ tooltip
"This is the position from which the reductio ad absurdum is derived." "This is the position from which the reductio ad absurdum is derived."
@ -359,14 +354,11 @@ reductioMakerTitle : String -> Element msg
reductioMakerTitle reductio = reductioMakerTitle reductio =
column [ E.width fill, E.alignLeft ] column [ E.width fill, E.alignLeft ]
[ paragraph [ paragraph
([ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , paragraphFontSize
] , spacing 3
++ [ F.size 16 ]
, spacing 3
]
)
[ text reductio ] [ text reductio ]
] ]
@ -394,15 +386,13 @@ summaryMaker =
, E.alignLeft , E.alignLeft
] ]
[ paragraph [ paragraph
([ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , paragraphFontSize
, F.bold , F.bold
] , infoSpacing
++ [ F.size 18 , headerFontSizeSmall
, infoSpacing ]
]
)
[ el [ el
[ tooltip [ tooltip
"The following information provides additional context and insight into the reasoning behind the argument." "The following information provides additional context and insight into the reasoning behind the argument."
@ -420,20 +410,17 @@ summaryMakerTitle argument =
, E.alignLeft , E.alignLeft
] ]
[ paragraph [ paragraph
([ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , F.bold
, F.bold , spacing 3
] , headerFontSizeSmall
++ [ F.size 18 ]
, spacing 3
]
)
[ text argument.propositionSummary [ text argument.propositionSummary
|> el |> el
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, F.regular , F.regular
, F.size 16 , paragraphFontSize
] ]
] ]
] ]
@ -454,15 +441,13 @@ strengthMaker =
, E.alignLeft , E.alignLeft
] ]
[ paragraph [ paragraph
([ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , paragraphFontSize
, F.bold , F.bold
] , E.width fill
++ [ F.size 18 , headerFontSizeSmall
, E.width fill ]
]
)
[ el [ el
[ tooltip [ tooltip
"This represents my confidence in the soundness of the argument." "This represents my confidence in the soundness of the argument."

View file

@ -9,6 +9,7 @@ import Config.Helpers.Format
( headerFontSizeSmall ( headerFontSizeSmall
, paragraphFontSize , paragraphFontSize
, paragraphSpacing , paragraphSpacing
, smallTextFontSize
) )
import Config.Helpers.Headers.Helpers exposing (..) import Config.Helpers.Headers.Helpers exposing (..)
import Config.Helpers.Headers.Records exposing (cuckListHeader) import Config.Helpers.Headers.Records exposing (cuckListHeader)
@ -165,9 +166,8 @@ socialMaker cuck =
paragraph paragraph
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize
, F.bold , F.bold
, F.size 18 , headerFontSizeSmall
, spacing 8 , spacing 8
] ]
[ text "Social: " [ text "Social: "
@ -192,9 +192,8 @@ dodgeTitle cuck =
paragraph paragraph
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize
, F.bold , F.bold
, F.size 18 , headerFontSizeSmall
] ]
[ text "Dodges: " ] [ text "Dodges: " ]
@ -221,8 +220,7 @@ makeDodge cuck dodge index =
[ column [ column
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , headerFontSizeSmall
, F.size 18
, alignTop , alignTop
, alignRight , alignRight
, F.alignRight , F.alignRight
@ -331,7 +329,7 @@ receipts : Cuck -> Dodge -> Element msg
receipts cuck dodge = receipts cuck dodge =
row row
[ spacing 3 [ spacing 3
, F.size 12 , smallTextFontSize
, paddingEach , paddingEach
{ top = 0 { top = 0
, right = 0 , right = 0

View file

@ -6,7 +6,8 @@ import Config.Helpers.Cards.Types as C
import Config.Helpers.Converters exposing (toTitleCase) import Config.Helpers.Converters exposing (toTitleCase)
import Config.Helpers.Format import Config.Helpers.Format
exposing exposing
( paragraphFontSize ( headerFontSizeSmall
, paragraphFontSize
, paragraphSpacing , paragraphSpacing
) )
import Config.Helpers.Headers.Helpers exposing (..) import Config.Helpers.Headers.Helpers exposing (..)
@ -178,8 +179,7 @@ gibberishMakerBody gibberish =
[ paragraph [ paragraph
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , headerFontSizeSmall
, F.size 18
, F.center , F.center
] ]
[ domainList gibberish [ domainList gibberish
@ -222,7 +222,6 @@ descriptionMaker gibberish =
, spacing 3 , spacing 3
, F.regular , F.regular
, F.alignLeft , F.alignLeft
, F.size 16
] ]
[ text gibberish.gibberishDescription [ text gibberish.gibberishDescription
] ]
@ -243,7 +242,7 @@ makeTerms bar index terms =
[ row [ row
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, F.regular , F.regular
, F.size 18 , headerFontSizeSmall
, F.bold , F.bold
, F.alignLeft , F.alignLeft
, E.width fill , E.width fill
@ -278,7 +277,7 @@ makeTerms bar index terms =
, paragraph , paragraph
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, F.regular , F.regular
, F.size 16 , paragraphFontSize
, F.alignLeft , F.alignLeft
] ]
[ text [ text
@ -308,9 +307,8 @@ intelligibilityBar terms =
[ paragraph [ paragraph
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, F.bold , F.bold
, F.size 18 , headerFontSizeSmall
, paragraphSpacing , paragraphSpacing
, paragraphFontSize
, E.alignLeft , E.alignLeft
, E.width fill , E.width fill
] ]

View file

@ -252,7 +252,7 @@ episodeMaker appearanceEntry =
{ url = appearanceEntry.appearanceLink { url = appearanceEntry.appearanceLink
, label = , label =
paragraph paragraph
[ F.size 18 [ headerFontSizeSmall
] ]
[ text ("#" ++ appearanceEntry.appearanceEpisode ++ ": " ++ appearanceEntry.appearanceTitle) [ text ("#" ++ appearanceEntry.appearanceEpisode ++ ": " ++ appearanceEntry.appearanceTitle)
|> el |> el

View file

@ -8,6 +8,8 @@ import Config.Helpers.Cards.Types as C
import Config.Helpers.Format import Config.Helpers.Format
exposing exposing
( divider ( divider
, headerFontSizeBig
, headerFontSizeSmall
, paragraphFontSize , paragraphFontSize
, paragraphSpacing , paragraphSpacing
) )
@ -52,6 +54,7 @@ import Page exposing (Page)
import Route exposing (Route) import Route exposing (Route)
import Shared exposing (..) import Shared exposing (..)
import View exposing (View) import View exposing (View)
import Config.Helpers.Format exposing (smallTextFontSize)
page : Shared.Model -> Route () -> Page Model Msg page : Shared.Model -> Route () -> Page Model Msg
@ -272,7 +275,7 @@ featureList nutridex device =
, column , column
[ centerX ] [ centerX ]
[ column [ column
[ F.size 18 [ headerFontSizeSmall
, F.bold , F.bold
, F.color colourTheme.textLightOrange , F.color colourTheme.textLightOrange
] ]
@ -288,7 +291,7 @@ featureList nutridex device =
] ]
] ]
] ]
, column [ width fill, F.size 12, spacing 3 ] <| , column [ width fill, smallTextFontSize, spacing 3 ] <|
List.map2 (\x y -> makeFeature x) List.map2 (\x y -> makeFeature x)
nutridex.nutriDexFeatures nutridex.nutriDexFeatures
(List.range 1 (List.length nutridex.nutriDexFeatures)) (List.range 1 (List.length nutridex.nutriDexFeatures))
@ -307,7 +310,7 @@ nutriDexTitleMaker title =
, F.bold , F.bold
] ]
++ [ centerX ++ [ centerX
, F.size 25 , headerFontSizeBig
, F.color colourTheme.textLightOrange , F.color colourTheme.textLightOrange
, paddingEach , paddingEach
{ top = 10 { top = 10
@ -439,7 +442,7 @@ nutriDexAdjustments device =
] ]
[ text " " [ text " "
, text "No adjustments are made to vitamin B1, vitamin B2, vitamin B3, manganese, phosphorus, and potassium, due to their DRIs only representing total daily intake, or due to the nutrient having close to 100% bioavailability. " , text "No adjustments are made to vitamin B1, vitamin B2, vitamin B3, manganese, phosphorus, and potassium, due to their DRIs only representing total daily intake, or due to the nutrient having close to 100% bioavailability. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/books/NBK114331/" { url = "https://www.ncbi.nlm.nih.gov/books/NBK114331/"
, label = text "1" , label = text "1"
@ -484,10 +487,9 @@ nutridexSubTitleMaker title =
el el
[ F.color colourTheme.textLightGrey [ F.color colourTheme.textLightGrey
, paragraphSpacing , paragraphSpacing
, paragraphFontSize
, F.bold , F.bold
, width fill , width fill
, F.size 18 , headerFontSizeSmall
, F.color colourTheme.textLightOrange , F.color colourTheme.textLightOrange
] ]
<| <|
@ -522,7 +524,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The DRI for vitamin B5 is multiplied by 2 in order to accommodate its average 50% bioavailability from food. " , text "The DRI for vitamin B5 is multiplied by 2 in order to accommodate its average 50% bioavailability from food. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/books/NBK114311/" { url = "https://www.ncbi.nlm.nih.gov/books/NBK114311/"
, label = text "8" , label = text "8"
@ -540,7 +542,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The DRI for plant-derived vitamin B6 is multiplied by 1.74 in order to accommodate the average ~42.5% reduction in bioavailability of pyridoxine glucoside. " , text "The DRI for plant-derived vitamin B6 is multiplied by 1.74 in order to accommodate the average ~42.5% reduction in bioavailability of pyridoxine glucoside. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/2843032" { url = "https://www.ncbi.nlm.nih.gov/pubmed/2843032"
, label = text "9" , label = text "9"
@ -558,7 +560,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The DRI for animal-derived vitamin B6 is multiplied by 1.33 in order to accommodate the average ~25% reduction in bioavailability of as a result of cooking. " , text "The DRI for animal-derived vitamin B6 is multiplied by 1.33 in order to accommodate the average ~25% reduction in bioavailability of as a result of cooking. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://pdfs.semanticscholar.org/b844/5e60d87753144ef856e0ae207b551aa75b9c.pdf" { url = "https://pdfs.semanticscholar.org/b844/5e60d87753144ef856e0ae207b551aa75b9c.pdf"
, label = text "10" , label = text "10"
@ -576,7 +578,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The contribution of vitamin B12 is capped at 1.5mcg in order to account for the average absorption cap of ~1.5mcg per serving in healthy people. " , text "The contribution of vitamin B12 is capped at 1.5mcg in order to account for the average absorption cap of ~1.5mcg per serving in healthy people. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/18606874" { url = "https://www.ncbi.nlm.nih.gov/pubmed/18606874"
, label = text "11" , label = text "11"
@ -594,7 +596,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The DRI for folate has been multiplied by 2 in order to accommodate its average 50% bioavailbility from food. " , text "The DRI for folate has been multiplied by 2 in order to accommodate its average 50% bioavailbility from food. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3257685/" { url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3257685/"
, label = text "12" , label = text "12"
@ -612,7 +614,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The contribution of plant-derived vitamin A (as retinol activity equivalents) is capped at 900mcg. This is to accommodate the fact that it is unlikely that the body can convert more than the DRI of vitamin A from carotenoids. " , text "The contribution of plant-derived vitamin A (as retinol activity equivalents) is capped at 900mcg. This is to accommodate the fact that it is unlikely that the body can convert more than the DRI of vitamin A from carotenoids. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2855261/" { url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2855261/"
, label = text "13" , label = text "13"
@ -630,7 +632,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The DRI for plant-derived vitamin K, phylloquinone, is multiplied by 10 in order to accommodate its 10% bioavailability from plant foods. " , text "The DRI for plant-derived vitamin K, phylloquinone, is multiplied by 10 in order to accommodate its 10% bioavailability from plant foods. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/8813897" { url = "https://www.ncbi.nlm.nih.gov/pubmed/8813897"
, label = text "14" , label = text "14"
@ -648,7 +650,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The DRI for vitamin C has been multiplied by 1.25 in order to accommodate its average ~80% bioavailability. " , text "The DRI for vitamin C has been multiplied by 1.25 in order to accommodate its average ~80% bioavailability. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/12134712" { url = "https://www.ncbi.nlm.nih.gov/pubmed/12134712"
, label = text "15" , label = text "15"
@ -666,7 +668,7 @@ nutriDexVitamins =
) )
[ text " " [ text " "
, text "The DRI for vitamin E has been multiplied by 4.65 in order to accommodate its average 21.5% bioavailability. " , text "The DRI for vitamin E has been multiplied by 4.65 in order to accommodate its average 21.5% bioavailability. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5745505/" { url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5745505/"
, label = text "16" , label = text "16"
@ -706,7 +708,7 @@ nutriDexFattyAcids =
) )
[ text " " [ text " "
, text "The DRIs for omega-3 and omega-6 have been recalculated to 250mg/day and 500mg/day, respectively. This better reflects our actual physiological requirements for these fatty acids as provided by their pre-elongated, animal-derived varieties. " , text "The DRIs for omega-3 and omega-6 have been recalculated to 250mg/day and 500mg/day, respectively. This better reflects our actual physiological requirements for these fatty acids as provided by their pre-elongated, animal-derived varieties. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5946201/" { url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5946201/"
, label = text "17" , label = text "17"
@ -729,7 +731,7 @@ nutriDexFattyAcids =
) )
[ text " " [ text " "
, text "The DRIs for plant-derived omega-3 and omega-6 have been multiplied by 6.66 in order to reflect their maximal ~15% conversion rate. " , text "The DRIs for plant-derived omega-3 and omega-6 have been multiplied by 6.66 in order to reflect their maximal ~15% conversion rate. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/12323090" { url = "https://www.ncbi.nlm.nih.gov/pubmed/12323090"
, label = text "19" , label = text "19"
@ -747,7 +749,7 @@ nutriDexFattyAcids =
) )
[ text " " [ text " "
, text "The contributions of plant-derived omega-3 and omega-6 are capped at 4.4444g before conversion rates are factored, in order to accommodate their conversion rate cap of 2% of calories per day. " , text "The contributions of plant-derived omega-3 and omega-6 are capped at 4.4444g before conversion rates are factored, in order to accommodate their conversion rate cap of 2% of calories per day. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3132704/" { url = "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3132704/"
, label = text "20" , label = text "20"
@ -799,7 +801,7 @@ nutriDexMinerals =
) )
[ text " " [ text " "
, text "The DRI for plant-derived copper has been multiplied by 2.94 in order to accommodate its average ~34% bioavailability from plant foods. " , text "The DRI for plant-derived copper has been multiplied by 2.94 in order to accommodate its average ~34% bioavailability from plant foods. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/8615369" { url = "https://www.ncbi.nlm.nih.gov/pubmed/8615369"
, label = text "21" , label = text "21"
@ -817,7 +819,7 @@ nutriDexMinerals =
) )
[ text " " [ text " "
, text "The DRI for animal-derived copper has been multiplied by 2.43 in order to accommodate its average ~41% bioavailability from animal foods. " , text "The DRI for animal-derived copper has been multiplied by 2.43 in order to accommodate its average ~41% bioavailability from animal foods. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/8615369" { url = "https://www.ncbi.nlm.nih.gov/pubmed/8615369"
, label = text "21" , label = text "21"
@ -835,7 +837,7 @@ nutriDexMinerals =
) )
[ text " " [ text " "
, text "The DRI for magnesium has been multiplied by 2.85 in order to accommodate its 35% bioavailability. " , text "The DRI for magnesium has been multiplied by 2.85 in order to accommodate its 35% bioavailability. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/1864954" { url = "https://www.ncbi.nlm.nih.gov/pubmed/1864954"
, label = text "22" , label = text "22"
@ -865,7 +867,7 @@ nutriDexMinerals =
) )
[ text " " [ text " "
, text "The DRI for selenium has been multiplied by 1.11 in order to accommodate its 90% bioavailability. " , text "The DRI for selenium has been multiplied by 1.11 in order to accommodate its 90% bioavailability. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/20200264" { url = "https://www.ncbi.nlm.nih.gov/pubmed/20200264"
, label = text "23" , label = text "23"
@ -883,7 +885,7 @@ nutriDexMinerals =
) )
[ text " " [ text " "
, text "The contribution of zinc is capped at 7mg in order to account for the average absorption cap of 7mg per serving in healthy people. " , text "The contribution of zinc is capped at 7mg in order to account for the average absorption cap of 7mg per serving in healthy people. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://www.ncbi.nlm.nih.gov/pubmed/10801947" { url = "https://www.ncbi.nlm.nih.gov/pubmed/10801947"
, label = text "24" , label = text "24"
@ -935,7 +937,7 @@ nutriDexAminoAcids =
) )
[ text " " [ text " "
, text "The DRIs for all essential amino acids from non-animal sources have been multiplied by 1.492 in order to accommodate their average PDCAAS score of .67. " , text "The DRIs for all essential amino acids from non-animal sources have been multiplied by 1.492 in order to accommodate their average PDCAAS score of .67. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://en.wikipedia.org/wiki/Protein_Digestibility_Corrected_Amino_Acid_Score" { url = "https://en.wikipedia.org/wiki/Protein_Digestibility_Corrected_Amino_Acid_Score"
, label = text "25" , label = text "25"
@ -953,7 +955,7 @@ nutriDexAminoAcids =
) )
[ text " " [ text " "
, text "All scores reflecting total protein yield of non-animal foods have been multiplied by .67 in order to accommodate the average 67% bioavailability of protein from non-animal sources. " , text "All scores reflecting total protein yield of non-animal foods have been multiplied by .67 in order to accommodate the average 67% bioavailability of protein from non-animal sources. "
, row [ F.regular, F.size 12 ] , row [ F.regular, smallTextFontSize ]
[ newTabLink referenceFormat [ newTabLink referenceFormat
{ url = "https://en.wikipedia.org/wiki/Protein_Digestibility_Corrected_Amino_Acid_Score" { url = "https://en.wikipedia.org/wiki/Protein_Digestibility_Corrected_Amino_Acid_Score"
, label = text "25" , label = text "25"

View file

@ -156,15 +156,12 @@ serviceWidth =
rateMaker : Service msg -> Element msg rateMaker : Service msg -> Element msg
rateMaker service = rateMaker service =
row row
([ F.color colourTheme.textLightOrange [ F.color colourTheme.textLightOrange
, paragraphSpacing , paragraphSpacing
, paragraphFontSize , F.bold
, F.bold , headerFontSizeSmall
] , E.width fill
++ [ F.size 18 ]
, E.width fill
]
)
[ column [ column
[ alignTop [ alignTop
, serviceWidth , serviceWidth